summaryrefslogtreecommitdiffstats
path: root/rust/helpers/io.c
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2025-04-22 23:13:35 +0100
committerSteven Rostedt (Google) <rostedt@goodmis.org>2025-05-01 15:46:19 -0400
commit3c1d9cfa8458a4d6b6cd9bc3ca7bb1591130a31c (patch)
treee136e9e06563f785c7dd7470c8ed2ad32c35dffc /rust/helpers/io.c
parentf5178c41bb43444a6008150fe6094497135d07cb (diff)
downloadlinux-3c1d9cfa8458a4d6b6cd9bc3ca7bb1591130a31c.tar.gz
linux-3c1d9cfa8458a4d6b6cd9bc3ca7bb1591130a31c.tar.bz2
linux-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 <mhiramat@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Link: https://lore.kernel.org/20250422221335.89896-1-colin.i.king@gmail.com Fixes: 0ae6b8ce200d ("ftrace: Fix accounting of subop hashes") Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'rust/helpers/io.c')
0 files changed, 0 insertions, 0 deletions