]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Fix mismatched comment in __string_len
authorGeliang Tang <geliang.tang@suse.com>
Wed, 22 Dec 2021 11:00:25 +0000 (19:00 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 13 Jan 2022 21:23:05 +0000 (16:23 -0500)
commitee0a8a66c6dd777947ce1cb4615d3730a1feb2c4
tree11b4a21627ca109cd495e91a806981bd0c00144a
parent9dbf975bb4fe13b2b5e27ec33eeb886f00a42f1f
tracing: Fix mismatched comment in __string_len

Here __assign_str_len() should be used for the __string_len type, instead
of __assign_str() in the comment.

Link: https://lkml.kernel.org/r/5c012db463392d0e6d4f0636203d778962ad060a.1640170494.git.geliang.tang@suse.com
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Fixes: 522f2b34fcdcc ("tracing: Add trace_event helper macros __string_len() and __assign_str_len()")
Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
samples/trace_events/trace-events-sample.h