Skip to content

Commit f4ce392

Browse files
committed
Merge tag 'livepatching-for-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching
Pull livepatching update from Petr Mladek: - Make a variable static to fix a sparse warning * tag 'livepatching-for-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching: livepatch: Make 'klp_stack_entries' static
2 parents 937d96d + 42cffe9 commit f4ce392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/livepatch/transition.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include "transition.h"
1616

1717
#define MAX_STACK_ENTRIES 100
18-
DEFINE_PER_CPU(unsigned long[MAX_STACK_ENTRIES], klp_stack_entries);
18+
static DEFINE_PER_CPU(unsigned long[MAX_STACK_ENTRIES], klp_stack_entries);
1919

2020
#define STACK_ERR_BUF_SIZE 128
2121

0 commit comments

Comments
 (0)