]> Git Repo - J-linux.git/commitdiff
scftorture: Make torture_type static
authorJeff Johnson <[email protected]>
Wed, 29 May 2024 20:45:40 +0000 (13:45 -0700)
committerPaul E. McKenney <[email protected]>
Thu, 30 May 2024 22:31:51 +0000 (15:31 -0700)
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 <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
kernel/scftorture.c

index c20c6eb8389d25116fb11a4075196c6559625091..44e83a6462647851ca3c100397d424dfa7ff5084 100644 (file)
@@ -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
This page took 0.047555 seconds and 4 git commands to generate.