diff options
author | Felipe Balbi <balbi@ti.com> | 2013-05-29 20:06:27 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-05-29 20:07:09 -0400 |
commit | 91e3af64c77f333155e253e9c399c746e087855f (patch) | |
tree | 9e08af486117baa9d28c85f70ead460e2ea6767f /drivers/usb/musb | |
parent | 2d22b42db02fdafeb7b990c2c25caabff4dd46fe (diff) |
usb: musb: host: fix build warning
very minor patch fixing the following build warning on
a debug message:
drivers/usb/musb/musb_host.c: In function ‘musb_host_rx’:
drivers/usb/musb/musb_host.c:1763:4: warning: format ‘%x’ \
expects argument of type ‘unsigned int’, but argument \
6 has type ‘dma_addr_t’ [-Wformat]
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r-- | drivers/usb/musb/musb_host.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/musb/musb_host.c b/drivers/usb/musb/musb_host.c index 1e370eec9100..47ebde88a805 100644 --- a/drivers/usb/musb/musb_host.c +++ b/drivers/usb/musb/musb_host.c | |||
@@ -1760,10 +1760,10 @@ void musb_host_rx(struct musb *musb, u8 epnum) | |||
1760 | 1760 | ||
1761 | rx_count = musb_readw(epio, MUSB_RXCOUNT); | 1761 | rx_count = musb_readw(epio, MUSB_RXCOUNT); |
1762 | 1762 | ||
1763 | dev_dbg(musb->controller, "RX%d count %d, buffer 0x%x len %d/%d\n", | 1763 | dev_dbg(musb->controller, "RX%d count %d, buffer 0x%llx len %d/%d\n", |
1764 | epnum, rx_count, | 1764 | epnum, rx_count, |
1765 | urb->transfer_dma | 1765 | (unsigned long long) urb->transfer_dma |
1766 | + urb->actual_length, | 1766 | + urb->actual_length, |
1767 | qh->offset, | 1767 | qh->offset, |
1768 | urb->transfer_buffer_length); | 1768 | urb->transfer_buffer_length); |
1769 | 1769 | ||