diff options
author | Divya Indi <divya.indi@oracle.com> | 2019-08-14 20:55:25 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-01 14:14:27 +0300 |
commit | cbef6b996e94a30e0c18995cdfea1477a2b257fc (patch) | |
tree | 21a566c0bc65855ef1e8e853d442ae624f758719 /drivers/md/bcache/btree.c | |
parent | b55eddf907af045cc3c74b4bb28868bfed62e4d0 (diff) | |
download | linux-cbef6b996e94a30e0c18995cdfea1477a2b257fc.tar.xz |
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 'drivers/md/bcache/btree.c')
0 files changed, 0 insertions, 0 deletions