diff options
| author | Colin Ian King <[email protected]> | 2025-04-22 22:13:35 +0000 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2025-05-01 19:46:19 +0000 |
| commit | 3c1d9cfa8458a4d6b6cd9bc3ca7bb1591130a31c (patch) | |
| tree | e136e9e06563f785c7dd7470c8ed2ad32c35dffc /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | |
| parent | tracing: Fix oob write in trace_seq_to_buffer() (diff) | |
| download | kernel-3c1d9cfa8458a4d6b6cd9bc3ca7bb1591130a31c.tar.gz kernel-3c1d9cfa8458a4d6b6cd9bc3ca7bb1591130a31c.zip | |
ftrace: Fix NULL memory allocation check
The check for a failed memory location is incorrectly checking
the wrong level of pointer indirection by checking !filter_hash
rather than !*filter_hash. Fix this.
Cc: asami Hiramatsu <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Link: https://lore.kernel.org/[email protected]
Fixes: 0ae6b8ce200d ("ftrace: Fix accounting of subop hashes")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions
