diff options
author | Steven Rostedt (Google) | 2022-07-05 18:45:06 -0400 |
---|---|---|
committer | Steven Rostedt (Google) | 2022-07-24 19:11:17 -0400 |
commit | ded4a2f1ae608772dd95e819f04bbaba1f0e78b1 (patch) | |
tree | 3185ee04226e9c3fd75bc0cc5e12ca8bb2b819b2 /kernel/trace | |
parent | 74003fc4ae7619ac5a7bec8748a14f3a8655f3ea (diff) |
mac80211: 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/20220705224751.271015450@goodmis.org
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace')
0 files changed, 0 insertions, 0 deletions