summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-02-03 03:03:04 +0000
committerMarek Vasut <marek.vasut@gmail.com>2012-03-19 00:08:16 +0100
commitb9743081058d847a9150dc8bd9dd2b74d78105a2 (patch)
treedff047970b3003236afa657e3a77e5be8939c8a1
parentf933e84e3497bddf29b8183ca6ee37a7a12e9ac3 (diff)
downloadu-boot-imx-b9743081058d847a9150dc8bd9dd2b74d78105a2.zip
u-boot-imx-b9743081058d847a9150dc8bd9dd2b74d78105a2.tar.gz
u-boot-imx-b9743081058d847a9150dc8bd9dd2b74d78105a2.tar.bz2
usb: musb: fix printf warning
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>
-rw-r--r--drivers/usb/musb/musb_hcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_hcd.c b/drivers/usb/musb/musb_hcd.c
index db7161f..2df52c1 100644
--- 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;
}