Skip to content

Commit

Permalink
Merge tag 'livepatching-for-6.5' of git://git.kernel.org/pub/scm/linu…
Browse files Browse the repository at this point in the history
…x/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
  • Loading branch information
Linus Torvalds committed Jul 1, 2023
2 parents 937d96d + 42cffe9 commit f4ce392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/livepatch/transition.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f4ce392

Please sign in to comment.