mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 12:35:52 +02:00
usb: xhci: remove duplicate '0x' prefix
Prefix "0x" is automatically added by '%pad'. Signed-off-by: Niklas Neronin <niklas.neronin@linux.intel.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Link: https://patch.msgid.link/20260402131342.2628648-25-mathias.nyman@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9a7ad750a8
commit
dad6711b9e
|
|
@ -994,14 +994,14 @@ int xhci_alloc_virt_device(struct xhci_hcd *xhci, int slot_id,
|
|||
if (!dev->out_ctx)
|
||||
goto fail;
|
||||
|
||||
xhci_dbg(xhci, "Slot %d output ctx = 0x%pad (dma)\n", slot_id, &dev->out_ctx->dma);
|
||||
xhci_dbg(xhci, "Slot %d output ctx = %pad (dma)\n", slot_id, &dev->out_ctx->dma);
|
||||
|
||||
/* Allocate the (input) device context for address device command */
|
||||
dev->in_ctx = xhci_alloc_container_ctx(xhci, XHCI_CTX_TYPE_INPUT, flags);
|
||||
if (!dev->in_ctx)
|
||||
goto fail;
|
||||
|
||||
xhci_dbg(xhci, "Slot %d input ctx = 0x%pad (dma)\n", slot_id, &dev->in_ctx->dma);
|
||||
xhci_dbg(xhci, "Slot %d input ctx = %pad (dma)\n", slot_id, &dev->in_ctx->dma);
|
||||
|
||||
/* Initialize the cancellation and bandwidth list for each ep */
|
||||
for (i = 0; i < 31; i++) {
|
||||
|
|
@ -2424,7 +2424,7 @@ int xhci_mem_init(struct xhci_hcd *xhci, gfp_t flags)
|
|||
|
||||
xhci->dcbaa->dma = dma;
|
||||
xhci_dbg_trace(xhci, trace_xhci_dbg_init,
|
||||
"Device context base array address = 0x%pad (DMA), %p (virt)",
|
||||
"Device context base array address = %pad (DMA), %p (virt)",
|
||||
&xhci->dcbaa->dma, xhci->dcbaa);
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -755,7 +755,7 @@ static int xhci_move_dequeue_past_td(struct xhci_hcd *xhci,
|
|||
}
|
||||
|
||||
if ((ep->ep_state & SET_DEQ_PENDING)) {
|
||||
xhci_warn(xhci, "Set TR Deq already pending, don't submit for 0x%pad\n",
|
||||
xhci_warn(xhci, "Set TR Deq already pending, don't submit for %pad\n",
|
||||
&addr);
|
||||
return -EBUSY;
|
||||
}
|
||||
|
|
@ -763,7 +763,7 @@ static int xhci_move_dequeue_past_td(struct xhci_hcd *xhci,
|
|||
/* This function gets called from contexts where it cannot sleep */
|
||||
cmd = xhci_alloc_command(xhci, false, GFP_ATOMIC);
|
||||
if (!cmd) {
|
||||
xhci_warn(xhci, "Can't alloc Set TR Deq cmd 0x%pad\n", &addr);
|
||||
xhci_warn(xhci, "Can't alloc Set TR Deq cmd %pad\n", &addr);
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user