mirror of
https://github.com/torvalds/linux.git
synced 2025-12-01 07:26:02 +07:00
livepatch: Rename KLP_* to KLP_TRANSITION_*
The original macros of KLP_* is about the state of the transition. Rename macros of KLP_* to KLP_TRANSITION_* to fix the confusing description of klp transition state. Signed-off-by: Wardenjohn <zhangwarden@gmail.com> Reviewed-by: Petr Mladek <pmladek@suse.com> Tested-by: Petr Mladek <pmladek@suse.com> Acked-by: Josh Poimboeuf <jpoimboe@kernel.org> Acked-by: Miroslav Benes <mbenes@suse.cz> Link: https://lore.kernel.org/r/20240507050111.38195-2-zhangwarden@gmail.com Signed-off-by: Petr Mladek <pmladek@suse.com>
This commit is contained in:
@@ -202,7 +202,7 @@ struct task_struct init_task
|
||||
.trace_recursion = 0,
|
||||
#endif
|
||||
#ifdef CONFIG_LIVEPATCH
|
||||
.patch_state = KLP_UNDEFINED,
|
||||
.patch_state = KLP_TRANSITION_IDLE,
|
||||
#endif
|
||||
#ifdef CONFIG_SECURITY
|
||||
.security = NULL,
|
||||
|
||||
Reference in New Issue
Block a user