Thread (8 messages) 8 messages, 4 authors, 2025-09-08

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

From: Will Deacon <will@kernel.org>
Date: 2025-09-08 15:55:50
Also in: linux-kselftest, lkml

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

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help