Skip to contentSkip to conversation

x86/fpu: Correct misspelled xfeaures_to_write local var

PATCH Applied Borislav Petkov 2 participants 2 messages Apr 4 x86

lore
Share & tools
lore
#0 lore raw

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.

---
 arch/x86/kernel/fpu/xstate.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/x86/kernel/fpu/xstate.h +4 -4
index 52ce19289989..38a2862f09d3 100644
@@ -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
#1 lore raw
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.

---
 arch/x86/kernel/fpu/xstate.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/x86/kernel/fpu/xstate.h +4 -4
index 52ce192..38a2862 100644
@@ -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;
 }
 
 /*