From: Felipe Balbi Date: Wed, 15 Aug 2018 05:30:59 +0000 (+0300) Subject: usb: dwc3: trace: log ep commands in hex X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~5633^2~16^2~24 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=1517265228b4ea6b89379fa8e134e62f75ea1dfe;p=linux.git usb: dwc3: trace: log ep commands in hex They are much more useful in hexadecimal than in decimal. Moreover, generic commands are already logged in hex. Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/dwc3/trace.h b/drivers/usb/dwc3/trace.h index f22714cce070..50fb6f2d92dd 100644 --- a/drivers/usb/dwc3/trace.h +++ b/drivers/usb/dwc3/trace.h @@ -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,