diff options
author | Felipe Balbi <balbi@ti.com> | 2015-05-26 15:34:45 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-05-26 15:38:30 -0500 |
commit | 7a64c7283ef83c82cb2125339c5d12092256614e (patch) | |
tree | c4b3180382ac0e5364e42ba583c361143a9a6d53 /drivers/usb | |
parent | 47a82730b54c2757ca5c89a82a9727ca0129af9d (diff) | |
download | talos-obmc-linux-7a64c7283ef83c82cb2125339c5d12092256614e.tar.gz talos-obmc-linux-7a64c7283ef83c82cb2125339c5d12092256614e.zip |
usb: gadget: atmel: fix build warning
This patch fixes the following build warning:
drivers/usb/gadget/udc/atmel_usba_udc.c:707:2: warning: format ‘%x’
expects argument of type ‘unsigned int’, but argument 4 has type
‘dma_addr_t’ [-Wformat=]
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/gadget/udc/atmel_usba_udc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/udc/atmel_usba_udc.c b/drivers/usb/gadget/udc/atmel_usba_udc.c index 4c01953a0869..5437346908e7 100644 --- a/drivers/usb/gadget/udc/atmel_usba_udc.c +++ b/drivers/usb/gadget/udc/atmel_usba_udc.c @@ -704,8 +704,8 @@ static int queue_dma(struct usba_udc *udc, struct usba_ep *ep, unsigned long flags; int ret; - DBG(DBG_DMA, "%s: req l/%u d/%08x %c%c%c\n", - ep->ep.name, req->req.length, req->req.dma, + DBG(DBG_DMA, "%s: req l/%u d/%pad %c%c%c\n", + ep->ep.name, req->req.length, &req->req.dma, req->req.zero ? 'Z' : 'z', req->req.short_not_ok ? 'S' : 's', req->req.no_interrupt ? 'I' : 'i'); |