]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Fix synthetic print fmt check for use of __get_str()
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 7 Oct 2020 14:34:34 +0000 (10:34 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 8 Oct 2020 19:29:07 +0000 (15:29 -0400)
commit21438e3452b635701024968e933f066ba8d40016
tree6e877bb2190b21a61ce1d206487c10d50c76c420
parenta8e74983d1fae22508196b4b365a6193c7a5d77f
tracing: Fix synthetic print fmt check for use of __get_str()

A cut and paste error had the check to use __get_str() test "is_dynamic"
twice, instead of checking "is_string && is_dynamic".

Link: https://lore.kernel.org/r/d34dccd5-96ba-a2d9-46ea-de8807525deb@canonical.com
Reported-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Tom Zanussi <zanussi@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_events_synth.c