rv/dot2K: add 'static' qualifier for local variable
authorZeng Heng <zengheng4@huawei.com>
Wed, 24 Aug 2022 03:43:57 +0000 (11:43 +0800)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Mon, 26 Sep 2022 17:01:09 +0000 (13:01 -0400)
commit4359a011e259a4608afc7fb3635370c9d4ba5943
treefe598ac594866b7cfc5c1410d042b09c8afb610c
parent01c44bf8337ac79f31aa090e842bf3b9dd762aca
rv/dot2K: add 'static' qualifier for local variable

Following Daniel's suggestion, fix similar warning
in template files, which would prevent new monitors
from such warning.

Link: https://lkml.kernel.org/r/20220824034357.2014202-3-zengheng4@huawei.com
Cc: <mingo@redhat.com>
Fixes: 24bce201d798 ("tools/rv: Add dot2k")
Suggested-by: Daniel Bristot de Oliveira <bristot@kernel.org>
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>
tools/verification/dot2/dot2k_templates/main_global.c
tools/verification/dot2/dot2k_templates/main_per_cpu.c
tools/verification/dot2/dot2k_templates/main_per_task.c