[PATCH 0/2] rv/monitors: fix sparse warning about lack of static qualifier
From: Zeng Heng
Date: Tue Aug 23 2022 - 23:36:07 EST
Fix sparse tool complains about rv/monitors existing modules.
In order to prevent new modules from similar warning,
also modify the template files to avoid such warning.
Zeng Heng (2):
rv/monitors: add 'static' qualifier for local symbols
rv/dot2K: add 'static' qualifier for local variable
kernel/trace/rv/monitors/wip/wip.c | 4 ++--
kernel/trace/rv/monitors/wwnr/wwnr.c | 4 ++--
tools/verification/dot2/dot2k_templates/main_global.c | 4 ++--
tools/verification/dot2/dot2k_templates/main_per_cpu.c | 4 ++--
tools/verification/dot2/dot2k_templates/main_per_task.c | 4 ++--
5 files changed, 10 insertions(+), 10 deletions(-)
--
2.25.1