summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@nxp.com>2017-04-19 16:55:52 +0300
committerSasha Levin <alexander.levin@verizon.com>2017-05-17 15:08:23 -0400
commit73270592d94b8e740d0ac044fc48c7749df593a0 (patch)
tree98d513b66d42375d896d22df6edc7b64ce833221
parent5ba52c08d1d1ca91386f644afadb546554b2192e (diff)
downloadlinux-stable-73270592d94b8e740d0ac044fc48c7749df593a0.tar.gz
linux-stable-73270592d94b8e740d0ac044fc48c7749df593a0.tar.bz2
linux-stable-73270592d94b8e740d0ac044fc48c7749df593a0.zip
usb: host: xhci: print correct command ring address
[ Upstream commit 6fc091fb0459ade939a795bfdcaf645385b951d4 ] 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
-rw-r--r--drivers/usb/host/xhci-mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c
index bd06e3a907fa..745aa2a20891 100644
--- a/drivers/usb/host/xhci-mem.c
+++ b/drivers/usb/host/xhci-mem.c
@@ -2458,7 +2458,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);