summaryrefslogtreecommitdiff
path: root/net/batman-adv/tp_meter.h
diff options
context:
space:
mode:
authorSteven Rostedt (Google) <rostedt@goodmis.org>2022-07-25 02:16:50 +0300
committerSteven Rostedt (Google) <rostedt@goodmis.org>2022-07-30 20:52:47 +0300
commit9abc291812d784bd4a26c01af4ebdbf9f2dbf0bb (patch)
treebbe239c5ca25cf1472799a0aa56ef5bafc99dbcd /net/batman-adv/tp_meter.h
parent730dbb8ddac6b92573658c3cb03555df1bdf95aa (diff)
downloadlinux-9abc291812d784bd4a26c01af4ebdbf9f2dbf0bb.tar.xz
batman-adv: 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/20220724191650.236b1355@rorschach.local.home Cc: Marek Lindner <mareklindner@neomailbox.ch> Cc: Ingo Molnar <mingo@kernel.org> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Simon Wunderlich <sw@simonwunderlich.de> Cc: Antonio Quartulli <a@unstable.cc> 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: b.a.t.m.a.n@lists.open-mesh.org Cc: netdev@vger.kernel.org Acked-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'net/batman-adv/tp_meter.h')
0 files changed, 0 insertions, 0 deletions