Re: [PATCH v2] selftests: arm64: Fix -Waddress warning in tpidr2 test

Will Deacon
2025-09-08T19:16:08Z

On Thu, 07 Aug 2025 17:12:29 +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.
>
> Fixes compiler warning (similar for other functions):
> warning: the address of 'write_read' will always evaluate as
> 'true' [-Waddress]
>
> [...]

Applied to arm64 (for-next/selftests), thanks!

[1/1] selftests: arm64: Fix -Waddress warning in tpidr2 test
https://git.kernel.org/arm64/c/50af02425afc

Cheers,
--
Will