Skip to content

Commit 7a64c72

Browse files
author
Felipe Balbi
committed
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>
1 parent 47a8273 commit 7a64c72

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/usb/gadget/udc/atmel_usba_udc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -704,8 +704,8 @@ static int queue_dma(struct usba_udc *udc, struct usba_ep *ep,
704704
unsigned long flags;
705705
int ret;
706706

707-
DBG(DBG_DMA, "%s: req l/%u d/%08x %c%c%c\n",
708-
ep->ep.name, req->req.length, req->req.dma,
707+
DBG(DBG_DMA, "%s: req l/%u d/%pad %c%c%c\n",
708+
ep->ep.name, req->req.length, &req->req.dma,
709709
req->req.zero ? 'Z' : 'z',
710710
req->req.short_not_ok ? 'S' : 's',
711711
req->req.no_interrupt ? 'I' : 'i');

0 commit comments

Comments
 (0)