]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
usb: host: xhci: remove newline from tracer
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 23 Jan 2017 12:20:22 +0000 (14:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Jan 2017 10:00:01 +0000 (11:00 +0100)
If we add that newline, the output will look like the following:

     kworker/2:1-42    [002] ....   169.811435: xhci_address_ctx:
ctx_64=0, ctx_type=2, ctx_dma=@153fbd000, ctx_va=@ffff880153fbd000

We would rather have that in a single line.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-trace.h

index 4bad0d6d2c8a97c1c061fab1352f2da1697a50d8..08bed2f07e50b333929ad0dbd6441577cf4f24be 100644 (file)
@@ -103,7 +103,7 @@ DECLARE_EVENT_CLASS(xhci_log_ctx,
                        ((HCC_64BYTE_CONTEXT(xhci->hcc_params) + 1) * 32) *
                        ((ctx->type == XHCI_CTX_TYPE_INPUT) + ep_num + 1));
        ),
-       TP_printk("\nctx_64=%d, ctx_type=%u, ctx_dma=@%llx, ctx_va=@%p",
+       TP_printk("ctx_64=%d, ctx_type=%u, ctx_dma=@%llx, ctx_va=@%p",
                        __entry->ctx_64, __entry->ctx_type,
                        (unsigned long long) __entry->ctx_dma, __entry->ctx_va
        )