aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@toblux.com>2024-02-14 23:05:56 +0100
committerSteven Rostedt (Google) <rostedt@goodmis.org>2024-02-15 11:40:01 -0500
commit9b6326354cf9a41521b79287da3bfab022ae0b6d (patch)
treede8e3f5166bafa0ec7ef6019bab7fdd66517653f /lib
parent2394ac4145ea91b92271e675a09af2a9ea6840b7 (diff)
downloadlinux-9b6326354cf9a41521b79287da3bfab022ae0b6d.tar.gz
tracing/synthetic: Fix trace_string() return value
Fix trace_string() by assigning the string length to the return variable which got lost in commit ddeea494a16f ("tracing/synthetic: Use union instead of casts") and caused trace_string() to always return 0. Link: https://lore.kernel.org/linux-trace-kernel/20240214220555.711598-1-thorsten.blum@toblux.com Cc: stable@vger.kernel.org Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Fixes: ddeea494a16f ("tracing/synthetic: Use union instead of casts") Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions