* [PATCH 8/8] usb: host: xhci: print correct command ring address
[not found] <1492610152-27373-1-git-send-email-mathias.nyman@linux.intel.com>
@ 2017-04-19 13:55 ` Mathias Nyman
0 siblings, 0 replies; only message in thread
From: Mathias Nyman @ 2017-04-19 13:55 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, Peter Chen, stable, Mathias Nyman
From: Peter Chen <peter.chen@nxp.com>
Print correct command ring address using 'val_64'.
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
---
drivers/usb/host/xhci-mem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c
index f80bd03..bbe22bc 100644
--- a/drivers/usb/host/xhci-mem.c
+++ b/drivers/usb/host/xhci-mem.c
@@ -2482,7 +2482,7 @@ int xhci_mem_init(struct xhci_hcd *xhci, gfp_t flags)
(xhci->cmd_ring->first_seg->dma & (u64) ~CMD_RING_RSVD_BITS) |
xhci->cmd_ring->cycle_state;
xhci_dbg_trace(xhci, trace_xhci_dbg_init,
- "// Setting command ring address to 0x%x", val);
+ "// Setting command ring address to 0x%016llx", val_64);
xhci_write_64(xhci, val_64, &xhci->op_regs->cmd_ring);
xhci_dbg_cmd_ptrs(xhci);
--
1.9.1
^ permalink raw reply related [flat|nested] only message in thread