]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
usb: host: xhci: print correct command ring address
authorPeter Chen <peter.chen@nxp.com>
Wed, 19 Apr 2017 13:55:52 +0000 (16:55 +0300)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 20 Jun 2017 10:17:15 +0000 (12:17 +0200)
BugLink: http://bugs.launchpad.net/bugs/1692900
commit 6fc091fb0459ade939a795bfdcaf645385b951d4 upstream.

Print correct command ring address using 'val_64'.

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: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
drivers/usb/host/xhci-mem.c

index 2a0d8350878abacfd31c9b17e3950c0b153ade9d..0d8c21bdd4e9d87b8c8e248ab33956843324fbbd 100644 (file)
@@ -2478,7 +2478,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);