Content-Type: multipart/mixed; boundary="===============2591263391975890856==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] trace: trace_event_probe_cleanup() can be static Date: Tue, 10 Aug 2021 23:59:11 +0800 Message-ID: <20210810155911.GA17196@c7dc9160c364> In-Reply-To: <20210810112108.1663174-1-tz.stoyanov@gmail.com> List-Id: --===============2591263391975890856== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable kernel/trace/trace_eprobe.c:46:6: warning: symbol 'trace_event_probe_cleanu= p' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- 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); --===============2591263391975890856==--