]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
usb: xhci: remove duplicate '0x' prefix
authorNiklas Neronin <niklas.neronin@linux.intel.com>
Thu, 2 Apr 2026 13:13:41 +0000 (16:13 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Apr 2026 13:55:38 +0000 (15:55 +0200)
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>
drivers/usb/host/xhci-mem.c
drivers/usb/host/xhci-ring.c

index a9fd26559e505a70a50415a83de6773398c3d227..997fe90f54e5c2f889d75b264a8a47cbf677cb3a 100644 (file)
@@ -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);
 
        /*
index 3589af0e27687008006ccb137b1840900ce90126..e47e644b296eab7d6dc2454ffc24ccd006422572 100644 (file)
@@ -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;
        }