diff options
author | Tom Rix <[email protected]> | 2023-03-12 12:46:45 -0400 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-04-08 13:45:37 -0700 |
commit | 882c5b261f404ebdfe69dcc055bfffc39f80c5a6 (patch) | |
tree | e90ff9a30630852dbb71945b4a96bb52a9c3472d /scripts/gdb/linux/cpus.py | |
parent | 725e374050ab0b4aa3663807a597773db30f1ae8 (diff) |
kernel/hung_task.c: set some hung_task.c variables storage-class-specifier to static
smatch reports several warnings
kernel/hung_task.c:31:19: warning:
symbol 'sysctl_hung_task_check_count' was not declared. Should it be static?
kernel/hung_task.c:50:29: warning:
symbol 'sysctl_hung_task_check_interval_secs' was not declared. Should it be static?
kernel/hung_task.c:52:19: warning:
symbol 'sysctl_hung_task_warnings' was not declared. Should it be static?
kernel/hung_task.c:75:28: warning:
symbol 'sysctl_hung_task_panic' was not declared. Should it be static?
These variables are only used in hung_task.c, so they should be static
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Tom Rix <[email protected]>
Cc: Ben Dooks <[email protected]>
Cc: fuyuanli <[email protected]>
Cc: John Ogness <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Petr Mladek <[email protected]>
Cc: Rafael J. Wysocki <[email protected]>
Cc: Rasmus Villemoes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/cpus.py')
0 files changed, 0 insertions, 0 deletions