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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Nov 2021 18:16:41 +0000 (19:16 +0100)
commit4d9b7edfdcf2d191d4279749d0b8b7ce35fd3ea5
treea4bcfee27c0f8ff50bd475cf3234e69c2df9f7aa
parentd3ec9c358a42552c44e5541857e9a06645e0e2f2
tracing: Fix missing trace_boot_init_histograms kstrdup NULL checks

[ Upstream commit 3c20bd3af535d64771b193bb4dd41ed662c464ce ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/trace/trace_boot.c