]> git.baikalelectronics.ru Git - kernel.git/commit
tracing/ath: Use the new __vstring() helper
authorSteven Rostedt (Google) <rostedt@goodmis.org>
Tue, 5 Jul 2022 22:44:56 +0000 (18:44 -0400)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 15 Jul 2022 21:44:40 +0000 (17:44 -0400)
commite3644be755bd53a433c31284b23d43ed9d6e76be
tree64996c6e265e04546d8d50cc9240a0b7e276afc7
parent4df4064ae47825a4ae932719c383dafdbb1aea81
tracing/ath: 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/20220705224749.430339634@goodmis.org
Cc: Kalle Valo <kvalo@kernel.org>
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: ath10k@lists.infradead.org
Cc: linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org
Cc: ath11k@lists.infradead.org
Acked-by: Kalle Valo <kvalo@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
drivers/net/wireless/ath/ath10k/trace.h
drivers/net/wireless/ath/ath11k/trace.h
drivers/net/wireless/ath/ath6kl/trace.h
drivers/net/wireless/ath/trace.h
drivers/net/wireless/ath/wil6210/trace.h