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)
commit3c20bd3af535d64771b193bb4dd41ed662c464ce
tree81709ea78ffd368e4cfeaa0eb7e016877c2b2374
parentaeafcb82d99c97ff5c6054a4091eeb12aefca9ab
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: 64dc7f6958ef5 ("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