diff options
| author | sunliming <[email protected]> | 2022-06-06 07:56:59 +0000 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2022-07-12 20:36:43 +0000 |
| commit | e3655dfa58053d614ca9601c36657b469402650f (patch) | |
| tree | 8de4a559feb7c75b4c607af3c16367044c2cd1cc /scripts/clang-tools/gen_compile_commands.py | |
| parent | blk-iocost: tracing: atomic64_read(&ioc->vtime_rate) is assigned an extra sem... (diff) | |
| download | kernel-e3655dfa58053d614ca9601c36657b469402650f.tar.gz kernel-e3655dfa58053d614ca9601c36657b469402650f.zip | |
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/[email protected]
Reported-by: kernel test robot <[email protected]>
Signed-off-by: sunliming <[email protected]>
Acked-by: Masami Hiramatsu (Google) <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
