diff options
author | sunliming <sunliming@kylinos.cn> | 2022-06-06 10:56:59 +0300 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2022-07-12 23:36:43 +0300 |
commit | e3655dfa58053d614ca9601c36657b469402650f (patch) | |
tree | 8de4a559feb7c75b4c607af3c16367044c2cd1cc /samples/ftrace | |
parent | 0bb7e14c8e15ad78b7300e7d89a615ea8b8c89a9 (diff) | |
download | linux-e3655dfa58053d614ca9601c36657b469402650f.tar.xz |
fprobe/samples: Make sample_probe static
This symbol is not used outside of fprobe_example.c, so marks it static.
Fixes the following warning:
sparse warnings: (new ones prefixed by >>)
>> samples/fprobe/fprobe_example.c:23:15: sparse: sparse: symbol 'sample_probe'
was not declared. Should it be static?
Link: https://lkml.kernel.org/r/20220606075659.674556-1-sunliming@kylinos.cn
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: sunliming <sunliming@kylinos.cn>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'samples/ftrace')
0 files changed, 0 insertions, 0 deletions