]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf7fbcc0ced628d815aa7501911638a34e31d06c2
tree110f6d36b0974f6117ce379302af61b531584cd9
parent7654243308db97433cd093a9b011450c5bcae938
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