diff options
author | Steven Rostedt (Google) <rostedt@goodmis.org> | 2022-07-05 18:45:02 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2022-07-19 11:20:24 -0400 |
commit | 84149fc768bc82922ef72e56c0eef9512417980c (patch) | |
tree | a3100223a9f88f8566f8f19f36ad3e1a016b82d2 /sound/pci | |
parent | 0ba4c9dede106c3e7ad2bb7e23eaa1393adc43a0 (diff) |
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 'sound/pci')
0 files changed, 0 insertions, 0 deletions