Return-Path: Received: from mail-bl2nam02on0078.outbound.protection.outlook.com ([104.47.38.78]:11456 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752481AbdDRKbG (ORCPT ); Tue, 18 Apr 2017 06:31:06 -0400 From: Peter Chen To: CC: , Peter Chen , stable Subject: [PATCH 1/1] usb: host: xhci: print correct command ring address Date: Tue, 18 Apr 2017 18:30:54 +0800 Message-ID: <1492511454-9704-1-git-send-email-peter.chen@nxp.com> MIME-Version: 1.0 Content-Type: text/plain Sender: stable-owner@vger.kernel.org List-ID: Print correct command ring address using 'val_64'. Cc: stable Signed-off-by: Peter Chen --- 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 de1503c..d7879f1 100644 --- a/drivers/usb/host/xhci-mem.c +++ b/drivers/usb/host/xhci-mem.c @@ -2492,7 +2492,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); -- 2.7.4