mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] rv/monitors: fix sparse warning about lack of static qualifier
@ 2022-08-24  3:43 Zeng Heng
  2022-08-24  3:43 ` [PATCH -next 1/2] rv/monitors: add 'static' qualifier for local symbols Zeng Heng
  2022-08-24  3:43 ` [PATCH -next 2/2] rv/dot2K: add 'static' qualifier for local variable Zeng Heng
  0 siblings, 2 replies; 5+ messages in thread
From: Zeng Heng @ 2022-08-24  3:43 UTC (permalink / raw)
  To: bristot, mingo, rostedt; +Cc: linux-kernel, zengheng4

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-08-24  6:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-24  3:43 [PATCH 0/2] rv/monitors: fix sparse warning about lack of static qualifier Zeng Heng
2022-08-24  3:43 ` [PATCH -next 1/2] rv/monitors: add 'static' qualifier for local symbols Zeng Heng
2022-08-24  6:33   ` Daniel Bristot de Oliveira
2022-08-24  3:43 ` [PATCH -next 2/2] rv/dot2K: add 'static' qualifier for local variable Zeng Heng
2022-08-24  6:33   ` Daniel Bristot de Oliveira

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®