aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host')
-rw-r--r--drivers/usb/host/xhci-dbg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/xhci-dbg.c b/drivers/usb/host/xhci-dbg.c
index 2501c571f855..56032f2d84e8 100644
--- a/drivers/usb/host/xhci-dbg.c
+++ b/drivers/usb/host/xhci-dbg.c
@@ -419,7 +419,7 @@ void xhci_dbg_ctx(struct xhci_hcd *xhci, struct xhci_device_control *ctx, dma_ad
419 &ctx->add_flags, (unsigned long long)dma, 419 &ctx->add_flags, (unsigned long long)dma,
420 ctx->add_flags); 420 ctx->add_flags);
421 dma += field_size; 421 dma += field_size;
422 for (i = 0; i > 6; ++i) { 422 for (i = 0; i < 6; ++i) {
423 xhci_dbg(xhci, "@%p (virt) @%08llx (dma) %#08x - rsvd[%d]\n", 423 xhci_dbg(xhci, "@%p (virt) @%08llx (dma) %#08x - rsvd[%d]\n",
424 &ctx->rsvd[i], (unsigned long long)dma, 424 &ctx->rsvd[i], (unsigned long long)dma,
425 ctx->rsvd[i], i); 425 ctx->rsvd[i], i);
@@ -443,7 +443,7 @@ void xhci_dbg_ctx(struct xhci_hcd *xhci, struct xhci_device_control *ctx, dma_ad
443 &ctx->slot.dev_state, 443 &ctx->slot.dev_state,
444 (unsigned long long)dma, ctx->slot.dev_state); 444 (unsigned long long)dma, ctx->slot.dev_state);
445 dma += field_size; 445 dma += field_size;
446 for (i = 0; i > 4; ++i) { 446 for (i = 0; i < 4; ++i) {
447 xhci_dbg(xhci, "@%p (virt) @%08llx (dma) %#08x - rsvd[%d]\n", 447 xhci_dbg(xhci, "@%p (virt) @%08llx (dma) %#08x - rsvd[%d]\n",
448 &ctx->slot.reserved[i], (unsigned long long)dma, 448 &ctx->slot.reserved[i], (unsigned long long)dma,
449 ctx->slot.reserved[i], i); 449 ctx->slot.reserved[i], i);