diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2023-07-01 06:40:44 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-07-01 06:40:44 +0200 |
commit | f4ce392b03722b62804909aadbce6ff4f9c50b91 (patch) | |
tree | 9ebaf59b182b2b1071754d8bcc7f33abba30aca0 /kernel | |
parent | Merge tag 'efi-next-for-v6.5' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff) | |
parent | livepatch: Make 'klp_stack_entries' static (diff) | |
download | linux-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.c | 2 |
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 |