[PATCH 03/13] tracing/ath: Use the new __vstring() helper

Kalle Valo kvalo at kernel.org
Thu Jul 7 23:45:14 PDT 2022


Steven Rostedt <rostedt at goodmis.org> writes:

> From: "Steven Rostedt (Google)" <rostedt at goodmis.org>
>
> 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.
>
> Cc: Kalle Valo <kvalo at kernel.org>
> Cc: "David S. Miller" <davem at davemloft.net>
> Cc: Eric Dumazet <edumazet at google.com>
> Cc: Jakub Kicinski <kuba at kernel.org>
> Cc: Paolo Abeni <pabeni at redhat.com>
> Cc: ath10k at lists.infradead.org
> Cc: linux-wireless at vger.kernel.org
> Cc: netdev at vger.kernel.org
> Cc: ath11k at lists.infradead.org
> Signed-off-by: Steven Rostedt (Google) <rostedt at goodmis.org>

Feel free to take this via your tree:

Acked-by: Kalle Valo <kvalo at kernel.org>

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches



More information about the ath10k mailing list