From: Mike Frysinger Date: Fri, 3 Feb 2012 03:03:04 +0000 (+0000) Subject: usb: musb: fix printf warning X-Git-Tag: v2012.04-rc1~44 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b9743081058d847a9150dc8bd9dd2b74d78105a2;p=oweals%2Fu-boot.git 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 --- diff --git a/drivers/usb/musb/musb_hcd.c b/drivers/usb/musb/musb_hcd.c index db7161f120..2df52c1c33 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; }