kernel/trace/trace_eprobe.c:46:6: warning: symbol 'trace_event_probe_cleanup' was
not declared. Should it be static?
Reported-by: kernel test robot <lkp(a)intel.com>
Signed-off-by: kernel test robot <lkp(a)intel.com>
---
trace_eprobe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/trace/trace_eprobe.c b/kernel/trace/trace_eprobe.c
index aab1dbb02d0d0..0f7d043cb61b0 100644
--- a/kernel/trace/trace_eprobe.c
+++ b/kernel/trace/trace_eprobe.c
@@ -43,7 +43,7 @@ struct eprobe_data {
static int __trace_eprobe_create(int argc, const char *argv[]);
-void trace_event_probe_cleanup(struct trace_eprobe *ep)
+static void trace_event_probe_cleanup(struct trace_eprobe *ep)
{
trace_probe_cleanup(&ep->tp);
kfree(ep->event_name);
Show replies by date