diff options
author | Jeff Johnson <quic_jjohnson@quicinc.com> | 2024-05-29 13:45:40 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2024-05-30 15:31:51 -0700 |
commit | d4641fa67d3dcc24d108cbfc4e47d0312ef49947 (patch) | |
tree | e6ee90fe69ced65f430baed540c9b80d31e0315b /kernel/scftorture.c | |
parent | d68dc77372ba220f25b11d8e09a34558883fbbfb (diff) |
scftorture: Make torture_type static
Fix the 'make C=1' warning:
kernel/scftorture.c:71:6: warning: symbol 'torture_type' was not declared. Should it be static?
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/scftorture.c')
-rw-r--r-- | kernel/scftorture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/scftorture.c b/kernel/scftorture.c index c20c6eb8389d..44e83a646264 100644 --- a/kernel/scftorture.c +++ b/kernel/scftorture.c @@ -68,7 +68,7 @@ torture_param(int, weight_many_wait, -1, "Testing weight for multi-CPU operation torture_param(int, weight_all, -1, "Testing weight for all-CPU no-wait operations."); torture_param(int, weight_all_wait, -1, "Testing weight for all-CPU operations."); -char *torture_type = ""; +static char *torture_type = ""; #ifdef MODULE # define SCFTORT_SHUTDOWN 0 |