diff options
author | Zeng Heng <zengheng4@huawei.com> | 2022-08-24 06:43:56 +0300 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2022-09-26 20:01:09 +0300 |
commit | 01c44bf8337ac79f31aa090e842bf3b9dd762aca (patch) | |
tree | f4862cdc5a479ec403f33c1d86af46489a64103c /tools/verification | |
parent | 9e14bae7d049cfdd5ab22cb200bc7ea847cfa8c9 (diff) | |
download | linux-01c44bf8337ac79f31aa090e842bf3b9dd762aca.tar.xz |
rv/monitors: add 'static' qualifier for local symbols
The sparse tool complains as follows:
kernel/trace/rv/monitors/wwnr/wwnr.c:18:19:
warning: symbol 'rv_wwnr' was not declared. Should it be static?
The `rv_wwnr` symbol is not dereferenced by other extern files,
so add static qualifier for it.
So does wip module.
Link: https://lkml.kernel.org/r/20220824034357.2014202-2-zengheng4@huawei.com
Cc: <mingo@redhat.com>
Fixes: ccc319dcb450 ("rv/monitor: Add the wwnr monitor")
Fixes: 8812d21219b9 ("rv/monitor: Add the wip monitor skeleton created by dot2k")
Signed-off-by: Zeng Heng <zengheng4@huawei.com>
Acked-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/verification')
0 files changed, 0 insertions, 0 deletions