diff options
author | 2022-07-05 18:45:02 -0400 | |
---|---|---|
committer | 2022-07-19 11:20:24 -0400 | |
commit | 84149fc768bc82922ef72e56c0eef9512417980c (patch) | |
tree | a3100223a9f88f8566f8f19f36ad3e1a016b82d2 /kernel | |
parent | xhci: tracing: Use the new __vstring() helper (diff) | |
download | wireguard-linux-84149fc768bc82922ef72e56c0eef9512417980c.tar.xz wireguard-linux-84149fc768bc82922ef72e56c0eef9512417980c.zip |
usb: musb: tracing: Use the new __vstring() helper
Instead of open coding a __dynamic_array() with a fixed length (which
defeats the purpose of the dynamic array in the first place). Use the new
__vstring() helper that will use a va_list and only write enough of the
string into the ring buffer that is needed.
Link: https://lkml.kernel.org/r/20220705224750.532345354@goodmis.org
Cc: Bin Liu <b-liu@ti.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-usb@vger.kernel.org
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions