tracing: Make two symbols static
authorYueHaibing <yuehaibing@huawei.com>
Fri, 14 Jun 2019 15:32:10 +0000 (23:32 +0800)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 14 Jun 2019 20:49:26 +0000 (16:49 -0400)
commitff585c5b9a27e64084c84e2ddf24fd00bf8dcfc1
treef734d772aa332319730b6b967800049f353122f1
parentcbdaeaf050b730ea02e9ab4ff844ce54d85dbe1d
tracing: Make two symbols static

Fix sparse warnings:

kernel/trace/trace.c:6927:24: warning:
 symbol 'get_tracing_log_err' was not declared. Should it be static?
kernel/trace/trace.c:8196:15: warning:
 symbol 'trace_instance_dir' was not declared. Should it be static?

Link: http://lkml.kernel.org/r/20190614153210.24424-1-yuehaibing@huawei.com
Acked-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace.c