Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: host: xhci: print correct command ring address

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>

authored by

Peter Chen and committed by
Greg Kroah-Hartman
6fc091fb 314eaf7d

+1 -1
+1 -1
drivers/usb/host/xhci-mem.c
··· 2482 2482 (xhci->cmd_ring->first_seg->dma & (u64) ~CMD_RING_RSVD_BITS) | 2483 2483 xhci->cmd_ring->cycle_state; 2484 2484 xhci_dbg_trace(xhci, trace_xhci_dbg_init, 2485 - "// Setting command ring address to 0x%x", val); 2485 + "// Setting command ring address to 0x%016llx", val_64); 2486 2486 xhci_write_64(xhci, val_64, &xhci->op_regs->cmd_ring); 2487 2487 xhci_dbg_cmd_ptrs(xhci); 2488 2488