[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <173383298019.2041619.15466719029042277892.b4-ty@kernel.org>
Date: Tue, 10 Dec 2024 18:34:45 +0000
From: Will Deacon <will@...nel.org>
To: broonie@...nel.org,
anshuman.khandual@....com,
Hardevsinh Palaniya <hardevsinh.palaniya@...iconsignals.io>
Cc: catalin.marinas@....com,
kernel-team@...roid.com,
Will Deacon <will@...nel.org>,
Marc Zyngier <maz@...nel.org>,
Oliver Upton <oliver.upton@...ux.dev>,
Ard Biesheuvel <ardb@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Joey Gouly <joey.gouly@....com>,
Ryan Roberts <ryan.roberts@....com>,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4] arm64/cpufeature: Refactor conditional logic in init_cpu_ftr_reg()
On Fri, 15 Nov 2024 11:06:35 +0530, Hardevsinh Palaniya wrote:
> Unnecessarily checks ftr_ovr == tmp in an extra else if, which is not
> needed because that condition would already be true by default if the
> previous conditions are not satisfied.
>
> if (ftr_ovr != tmp) {
> } else if (ftr_new != tmp) {
> } else if (ftr_ovr == tmp) {
>
> [...]
Applied to arm64 (for-next/cpufeature), thanks!
[1/1] arm64/cpufeature: Refactor conditional logic in init_cpu_ftr_reg()
https://git.kernel.org/arm64/c/e52163df7721
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Powered by blists - more mailing lists