summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-07-01 06:40:44 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2023-07-01 06:40:44 +0200
commitf4ce392b03722b62804909aadbce6ff4f9c50b91 (patch)
tree9ebaf59b182b2b1071754d8bcc7f33abba30aca0 /kernel
parentMerge tag 'efi-next-for-v6.5' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff)
parentlivepatch: Make 'klp_stack_entries' static (diff)
downloadlinux-f4ce392b03722b62804909aadbce6ff4f9c50b91.tar.xz
linux-f4ce392b03722b62804909aadbce6ff4f9c50b91.zip
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
Diffstat (limited to 'kernel')
-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 e9fd83a02228..e54c3d60a904 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