tracing: Convert local functions in tracing_map.c to static
authorJason Yan <yanaijie@huawei.com>
Fri, 10 Apr 2020 07:33:12 +0000 (15:33 +0800)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 23 Apr 2020 02:07:26 +0000 (22:07 -0400)
commitd013496f99c5608e0f80afd67acb1ba93c4144ea
treea93f3cd4843c19186f77b47115a305acd0e96ae7
parenta2806ef77ff9a965a70d6c194bb3a4801bbdb07d
tracing: Convert local functions in tracing_map.c to static

Fix the following sparse warning:

kernel/trace/tracing_map.c:286:6: warning: symbol
'tracing_map_array_clear' was not declared. Should it be static?
kernel/trace/tracing_map.c:297:6: warning: symbol
'tracing_map_array_free' was not declared. Should it be static?
kernel/trace/tracing_map.c:319:26: warning: symbol
'tracing_map_array_alloc' was not declared. Should it be static?

Link: http://lkml.kernel.org/r/20200410073312.38855-1-yanaijie@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/tracing_map.c