OSDN Git Service

usb: cdns3: trace: delete the trace parameter for request->trb
authorPeter Chen <peter.chen@kernel.org>
Sun, 7 Mar 2021 09:53:43 +0000 (17:53 +0800)
committerPeter Chen <peter.chen@kernel.org>
Mon, 12 Apr 2021 12:19:21 +0000 (20:19 +0800)
commit39be23f4f16f5e743471c87c1e04bc90fc6d100a
tree110f6d36b0974f6117ce379302af61b531584cd9
parent2fd69eca06333a4c1170e81bedf2736548ccb63d
usb: cdns3: trace: delete the trace parameter for request->trb

It is not correct using %pa to print virtual address of request->trb, and
it is hard to print its physical address due to the virtual address is
zero before using. It could use index (start_trb/end_trb) to know the
current trb position, so no matter virtual address or physical address
for request-trb is not so meaningful.

Reported-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Peter Chen <peter.chen@kernel.org>
drivers/usb/cdns3/cdns3-trace.h