]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
usb: dwc3: trace: log ep commands in hex
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 15 Aug 2018 05:30:59 +0000 (08:30 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 26 Nov 2018 07:14:03 +0000 (09:14 +0200)
They are much more useful in hexadecimal than in decimal. Moreover,
generic commands are already logged in hex.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/trace.h

index f22714cce070b28d60ebe5354ac3e64e54fa289f..50fb6f2d92dd02718e6e860bdcd0f9d3fcf30615 100644 (file)
@@ -199,7 +199,7 @@ DECLARE_EVENT_CLASS(dwc3_log_gadget_ep_cmd,
                __entry->param2 = params->param2;
                __entry->cmd_status = cmd_status;
        ),
-       TP_printk("%s: cmd '%s' [%d] params %08x %08x %08x --> status: %s",
+       TP_printk("%s: cmd '%s' [%x] params %08x %08x %08x --> status: %s",
                __get_str(name), dwc3_gadget_ep_cmd_string(__entry->cmd),
                __entry->cmd, __entry->param0,
                __entry->param1, __entry->param2,