]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Fix missing trace_boot_init_histograms kstrdup NULL checks
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 15 Oct 2021 19:55:50 +0000 (15:55 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 26 Oct 2021 13:18:10 +0000 (09:18 -0400)
commit2f4f4b71f0df25e58c41e0964077150981a5fd65
tree81709ea78ffd368e4cfeaa0eb7e016877c2b2374
parent843fe5193e13cea63bebbef301cedb900f61032c
tracing: Fix missing trace_boot_init_histograms kstrdup NULL checks

trace_boot_init_histograms misses NULL pointer checks for kstrdup
failure.

Link: https://lkml.kernel.org/r/20211015195550.22742-1-mathieu.desnoyers@efficios.com
Fixes: f6fcac3dd3bca ("tracing/boot: Show correct histogram error command")
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_boot.c