x86/fpu: Correct misspelled xfeaures_to_write local var
PATCH 1/1 x86/fpu: Correct misspelled xfeaures_to_write local var
From: "Borislav Petkov (AMD)" <[email protected]>
It happens. Fix it.
No functional changes.
Signed-off-by Borislav Petkov (AMD) <[email protected]>
--- arch/x86/kernel/fpu/xstate.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
arch/x86/kernel/fpu/xstate.h +4 -4
@@ -267,16 +267,16 @@ static inline void os_xrstor_supervisor(struct fpstate *fpstate)*/ static inline u64 xfeatures_need_sigframe_write (void ) { -u64 xfeaures_to_write; +u64 xfeatures_to_write;/* In-use features must be written: */ - xfeaures_to_write =xfeatures_in_use (); + xfeatures_to_write =xfeatures_in_use ();/* Also write all non-optimizable sigframe features: */ - xfeaures_to_write |=XFEATURE_MASK_USER_SUPPORTED & + xfeatures_to_write |=XFEATURE_MASK_USER_SUPPORTED & ~XFEATURE_MASK_SIGFRAME_INITOPT ; -return xfeaures_to_write; +return xfeatures_to_write; }/*
Signature · 1 line
2.51.0
The following commit has been merged into the x86/cleanups branch of tip:
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: f44cc3a48acaf9909e3953eb69299e3c773c9111 Gitweb: https://git.kernel.org/tip/f44cc3a48acaf9909e3953eb69299e3c773c9111 Author: Borislav Petkov (AMD) <[email protected]> AuthorDate: Sat, 04 Apr 2026 13:12:09 +02:00 Committer: Borislav Petkov (AMD) <[email protected]> CommitterDate: Sat, 04 Apr 2026 14:11:46 +02:00
x86/fpu: Correct misspelled xfeaures_to_write local var
It happens. Fix it.
No functional changes.
Signed-off-by Borislav Petkov (AMD) <[email protected]>
--- arch/x86/kernel/fpu/xstate.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
arch/x86/kernel/fpu/xstate.h +4 -4
@@ -267,16 +267,16 @@ static inline void os_xrstor_supervisor(struct fpstate *fpstate)*/ static inline u64 xfeatures_need_sigframe_write (void ) { -u64 xfeaures_to_write; +u64 xfeatures_to_write;/* In-use features must be written: */ - xfeaures_to_write =xfeatures_in_use (); + xfeatures_to_write =xfeatures_in_use ();/* Also write all non-optimizable sigframe features: */ - xfeaures_to_write |=XFEATURE_MASK_USER_SUPPORTED & + xfeatures_to_write |=XFEATURE_MASK_USER_SUPPORTED & ~XFEATURE_MASK_SIGFRAME_INITOPT ; -return xfeaures_to_write; +return xfeatures_to_write; }/*