commit | 003d6f5fd2cc3b529f3e6c529bc4bb0792930212 | [log] [tgz] |
---|---|---|
author | Michael Ellerman <mpe@ellerman.id.au> | Wed Aug 19 11:57:27 2020 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue Sep 08 22:24:13 2020 +1000 |
tree | 9b07b98965ef707ed06158b3303d53bd71541044 | |
parent | 09275d717d1b2d7d5ed91f2140bb34246514a1b4 [diff] |
selftests/powerpc: Properly handle failure in switch_endian_test On older CPUs the switch_endian() syscall doesn't work. Currently that causes the switch_endian_test to just crash. Instead detect the failure and properly exit with a failure message. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200819015727.1977134-9-mpe@ellerman.id.au