[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a2456da6-2c73-4b0b-9d00-50ab88bff4af@sirena.org.uk>
Date: Thu, 7 Aug 2025 13:04:09 +0100
From: Mark Brown <broonie@...nel.org>
To: Bala-Vignesh-Reddy <reddybalavignesh9979@...il.com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kselftest@...r.kernel.org,
linux-kernel@...r.kernel.org,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>, Shuah Khan <shuah@...nel.org>,
Yeoreum Yun <yeoreum.yun@....com>
Subject: Re: [PATCH] selftests: arm64: Fix -Waddress warning in tpidr2 test
On Thu, Aug 07, 2025 at 02:09:26AM +0530, Bala-Vignesh-Reddy wrote:
> Resolve compiler warning about always true condition in ksft_test_result
> in tpidr2, passing actual function.
>
> This silences -Waddress warning while maintaining test functionality.
Ouch, good spot. Annoyingly the compiler I was using didn't complain
about this at all. Like Anshuman said it's good practice to include the
warning, and also often the compiler details unless it's a super common
warning.
Reviewed-by: Mark Brown <broonie@...nel.org>
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists