mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 07:22:34 +00:00
Since main() does not return a value explicitly, the return values from FAIL_IF() conditions are ignored and the tests can still pass irrespective of failures. This makes sure that we always explicitly return the correct test exit status. Fixes:1addb64447("selftests/powerpc: Add test for execute-disabled pkeys") Fixes:c27f2fd170("selftests/powerpc: Add test for pkey siginfo verification") Reported-by: Eirik Fuller <[email protected]> Signed-off-by: Sandipan Das <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]