aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-06-30 21:40:44 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2023-06-30 21:40:44 -0700
commitf4ce392b03722b62804909aadbce6ff4f9c50b91 (patch)
tree9ebaf59b182b2b1071754d8bcc7f33abba30aca0
parent937d96d2d567fe0d86a2f39a7f988bf31c66d3e6 (diff)
parent42cffe980ce383893660d78e33340763ca1dadae (diff)
downloadlivepatching-f4ce392b03722b62804909aadbce6ff4f9c50b91.tar.gz
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
-rw-r--r--kernel/livepatch/transition.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/livepatch/transition.c b/kernel/livepatch/transition.c
index e9fd83a022285b..e54c3d60a90450 100644
--- a/kernel/livepatch/transition.c
+++ b/kernel/livepatch/transition.c
@@ -15,7 +15,7 @@
#include "transition.h"
#define MAX_STACK_ENTRIES 100
-DEFINE_PER_CPU(unsigned long[MAX_STACK_ENTRIES], klp_stack_entries);
+static DEFINE_PER_CPU(unsigned long[MAX_STACK_ENTRIES], klp_stack_entries);
#define STACK_ERR_BUF_SIZE 128