summaryrefslogtreecommitdiff
path: root/init/main.c
diff options
context:
space:
mode:
authorDivya Indi <divya.indi@oracle.com>2019-08-14 10:55:25 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-01 11:11:51 +0200
commitf8e23211976f2ecaf4ab86052ec98b88e2cac5eb (patch)
tree1c907c47126aa730e3efbb62b7217724f9eb6e7c /init/main.c
parentb176b20c30b309339bbce423bb3ab81bd5ae2e78 (diff)
tracing: Adding NULL checks for trace_array descriptor pointer
[ Upstream commit 953ae45a0c25e09428d4a03d7654f97ab8a36647 ] As part of commit f45d1225adb0 ("tracing: Kernel access to Ftrace instances") we exported certain functions. Here, we are adding some additional NULL checks to ensure safe usage by users of these APIs. Link: http://lkml.kernel.org/r/1565805327-579-4-git-send-email-divya.indi@oracle.com Signed-off-by: Divya Indi <divya.indi@oracle.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions