From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 197B278F2F for ; Sat, 4 Apr 2026 12:00:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775304053; cv=none; b=C9jLJN5zoGvdGO1tuhKA2kZlHDh5u0nysvYy8IYAB7G0zFvheXv0jz5Uh1dFtkemMRyKKk6uFNM66hiLDRB0TtmbbBCO/4AzRF9kgy+fpCVpAKHHb50V5+3A77xnS+R5EFFdweYsP3MBqXuMFe+YcLIHdfmbaA9GN7jrEHibQ14= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775304053; c=relaxed/simple; bh=baclQP9qQHPwEbIxAKTbmllNVXGRpKG3daG3PN/q02Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=G2DDe27898T4vAdaH8/MREjxdO4ORMpmyFrAwj67WwEmFj9g0dIzceBoQeBHPQMbyANL4/NsuaLMN63Dj/NWoGh1VCwwgWlutByAyKHdX12L3N9QsE3SabcB7a0Fhg2CqS+1X2BEVBuz3tanqypCs+fHqNmhoeGg5YxiiyGApeU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=LLzawsaA; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LLzawsaA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C80C9C19421; Sat, 4 Apr 2026 12:00:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1775304052; bh=baclQP9qQHPwEbIxAKTbmllNVXGRpKG3daG3PN/q02Q=; h=From:To:Cc:Subject:Date:From; b=LLzawsaApUompfkD15EqX/0AopjSg+YS+sFqfyUbXOn+LuwakcoK4bvJ3ZyLjMbdp ex0mVZ+CexAgGImVH/TTtvTo0kDAoUL7/zAews8PKK8wOUcUoMmV3tjne7hC5cpsdc ZjgN0iGf0wbe16o7P2Nb4ouvyO4L5Pbv1dqrh3XnQU65M7k+elr4i9nS23qfufj+19 lWWz7UORW5w7bS9DWjXwAZ0RtlHovSS0asikch8pSSBdgClKHwdTYrnhCPh3gP0zd/ h/RputHkGg/u3xGnpFrdqNcS5rxMj19hsb40DkcF/mATHxkvhEjquPMibiaid9prhL mcAfT6NzSgIJw== From: Borislav Petkov To: X86 ML Cc: LKML , "Borislav Petkov (AMD)" Subject: [PATCH] x86/fpu: Correct misspelled xfeaures_to_write local var Date: Sat, 4 Apr 2026 14:00:48 +0200 Message-ID: <20260404120048.14765-1-bp@kernel.org> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Borislav Petkov (AMD)" It happens. Fix it. No functional changes. Signed-off-by: Borislav Petkov (AMD) --- arch/x86/kernel/fpu/xstate.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/kernel/fpu/xstate.h b/arch/x86/kernel/fpu/xstate.h index 52ce19289989..38a2862f09d3 100644 --- a/arch/x86/kernel/fpu/xstate.h +++ b/arch/x86/kernel/fpu/xstate.h @@ -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; } /* -- 2.51.0