projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f933e84
)
usb: musb: fix printf warning
author
Mike Frysinger
<vapier@gentoo.org>
Fri, 3 Feb 2012 03:03:04 +0000
(
03:03
+0000)
committer
Marek Vasut
<marek.vasut@gmail.com>
Sun, 18 Mar 2012 23:08:16 +0000
(
00:08
+0100)
musb_hcd.c: In function 'musb_submit_rh_msg':
musb_hcd.c:827:2: warning: format '%d' expects type 'int',
but argument 3 has type 'long unsigned int'
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/usb/musb/musb_hcd.c
patch
|
blob
|
history
diff --git
a/drivers/usb/musb/musb_hcd.c
b/drivers/usb/musb/musb_hcd.c
index db7161f120ff41c1798b7b96377cf9a6f5b6fa0e..2df52c1c33f907eea83b2a8bacf2f338e0011bd9 100644
(file)
--- a/
drivers/usb/musb/musb_hcd.c
+++ b/
drivers/usb/musb/musb_hcd.c
@@
-824,7
+824,7
@@
static int musb_submit_rh_msg(struct usb_device *dev, unsigned long pipe,
dev->act_len = len;
dev->status = stat;
- debug("dev act_len %d, status %
d
\n", dev->act_len, dev->status);
+ debug("dev act_len %d, status %
lu
\n", dev->act_len, dev->status);
return stat;
}