Skip to contentSkip to conversation

usb: musb: fix printf warning

PATCH New Mike Frysinger 3 participants 6 messages Feb 3, 2012 – Feb 27, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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'

---
 drivers/usb/musb/musb_hcd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/usb/musb/musb_hcd.c +1 -1
index 325edb9..b6b70ec 100644
@@ -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;
 }
Signature · 1 line
1.7.8.4
#1 lore raw

PATCH 1/1 usb: musb: fix printf warning

Quoted 9 lines

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'

---
 drivers/usb/musb/musb_hcd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Hi,

what's the status of this patch/patchset?

Thanks
M

#2 lore raw

PATCH 1/1 usb: musb: fix printf warning

Quoted 6 lines · On Sunday 26 February 2012 18:13:58 Marek Vasut wrote:
Quoted 4 lines

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'

what's the status of this patch/patchset?

the usb ones are waiting for someone to pick up
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120226/4681dfb5/attachment.pgp>

#3 lore raw

PATCH 1/1 usb: musb: fix printf warning

Quoted 10 lines · On Sunday 26 February 2012 18:13:58 Marek Vasut wrote:
Quoted 6 lines
Quoted 4 lines

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'

what's the status of this patch/patchset?

the usb ones are waiting for someone to pick up
-mike

Ok, can you please resend and Cc me so I can pick them up?

M

#4 lore raw

PATCH 1/1 usb: musb: fix printf warning

Quoted 11 lines · On Sunday 26 February 2012 18:48:26 Marek Vasut wrote:
Quoted 9 lines · On Sunday 26 February 2012 18:13:58 Marek Vasut wrote:
Quoted 6 lines
Quoted 4 lines

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'

what's the status of this patch/patchset?

the usb ones are waiting for someone to pick up

Ok, can you please resend and Cc me so I can pick them up?

http://patchwork.ozlabs.org/patch/139366/
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120226/e4695a9f/attachment.pgp>

#5 lore raw

PATCH 1/1 usb: musb: fix printf warning

Quoted 7 lines · On Sunday 26 February 2012 18:48:26 Marek Vasut wrote:
Quoted 6 lines
Quoted 6 lines · On Sunday 26 February 2012 18:13:58 Marek Vasut wrote:
Quoted 5 lines
Quoted 4 lines

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'

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line

what's the status of this patch/patchset?

the usb ones are waiting for someone to pick up

Ok, can you please resend and Cc me so I can pick them up?

http://patchwork.ozlabs.org/patch/139366/
-mike

Assigned, thanks!