Skip to content

Commit aad7c25

Browse files
author
Felipe Balbi
committed
usb: dwc3: trace: change format for string to cmd trace
a %x is much easier for a human to parse when reading tracepoint output. Let's change it. Signed-off-by: Felipe Balbi <[email protected]>
1 parent bc27f66 commit aad7c25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/dwc3/trace.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ DECLARE_EVENT_CLASS(dwc3_log_generic_cmd,
173173
__entry->param = param;
174174
__entry->status = status;
175175
),
176-
TP_printk("cmd '%s' [%d] param %08x --> status: %s",
176+
TP_printk("cmd '%s' [%x] param %08x --> status: %s",
177177
dwc3_gadget_generic_cmd_string(__entry->cmd),
178178
__entry->cmd, __entry->param,
179179
dwc3_gadget_generic_cmd_status_string(__entry->status)

0 commit comments

Comments
 (0)