Messages in this thread | | | From | Kalle Valo <> | Subject | Re: [PATCH 05/13] tracing/iwlwifi: Use the new __vstring() helper | Date | Fri, 08 Jul 2022 08:03:11 +0300 |
| |
Steven Rostedt <rostedt@goodmis.org> writes:
> From: "Steven Rostedt (Google)" <rostedt@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: Gregory Greenman <gregory.greenman@intel.com> > Cc: Kalle Valo <kvalo@kernel.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> > --- > .../net/wireless/intel/iwlwifi/iwl-devtrace-msg.h | 12 ++++-------- > 1 file changed, 4 insertions(+), 8 deletions(-)
Feel free to take this via your tree:
Acked-by: Kalle Valo <kvalo@kernel.org>
-- https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
| |