diff options
author | Thorsten Blum <thorsten.blum@toblux.com> | 2024-02-14 23:05:56 +0100 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2024-02-15 11:40:01 -0500 |
commit | 9b6326354cf9a41521b79287da3bfab022ae0b6d (patch) | |
tree | de8e3f5166bafa0ec7ef6019bab7fdd66517653f /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c | |
parent | 2394ac4145ea91b92271e675a09af2a9ea6840b7 (diff) |
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c')
0 files changed, 0 insertions, 0 deletions