Skip to content

Commit d4641fa

Browse files
Jeff Johnsonpaulmckrcu
authored andcommitted
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 <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
1 parent d68dc77 commit d4641fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/scftorture.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ torture_param(int, weight_many_wait, -1, "Testing weight for multi-CPU operation
6868
torture_param(int, weight_all, -1, "Testing weight for all-CPU no-wait operations.");
6969
torture_param(int, weight_all_wait, -1, "Testing weight for all-CPU operations.");
7070

71-
char *torture_type = "";
71+
static char *torture_type = "";
7272

7373
#ifdef MODULE
7474
# define SCFTORT_SHUTDOWN 0

0 commit comments

Comments
 (0)