1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-17 12:00:35 +00:00
Masami Hiramatsu (Google) 1f9f4f4777 tracing/probes: Fix to add NULL check for BTF APIs
Since find_btf_func_param() abd btf_type_by_id() can return NULL,
the caller must check the return value correctly.

Link: https://lore.kernel.org/all/169024903951.395371.11361556840733470934.stgit@devnote2/

Fixes: b576e09701c7 ("tracing/probes: Support function parameters if BTF is available")
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
2023-07-26 12:53:38 +09:00
..
2023-04-28 16:11:26 -07:00
2023-06-30 10:44:53 -07:00
2023-07-16 12:13:51 -07:00
2023-06-30 10:44:53 -07:00
2023-06-27 21:24:18 -07:00
2023-06-30 10:44:53 -07:00
2023-06-30 10:33:17 -07:00
2023-07-16 12:13:51 -07:00