summaryrefslogtreecommitdiff
path: root/arch/powerpc/mm
diff options
context:
space:
mode:
authorR Nageswara Sastry <rnsastry@linux.ibm.com>2024-01-31 16:08:59 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2024-02-05 14:47:31 +0300
commitf09696279b5dd1770a3de2e062f1c5d1449213ff (patch)
treeff3e8649d23a97e11ada054359c045eb87f08604 /arch/powerpc/mm
parentaad98efd0b121f63a2e1c221dcb4d4850128c697 (diff)
downloadlinux-f09696279b5dd1770a3de2e062f1c5d1449213ff.tar.xz
selftests/powerpc/papr_vpd: Check devfd before get_system_loc_code()
Calling get_system_loc_code before checking devfd and errno fails the test when the device is not available, the expected behaviour is a SKIP. Change the order of 'SKIP_IF_MSG' to correctly SKIP when the /dev/ papr-vpd device is not available. Test output before: Test FAILED on line 271 Test output after: [SKIP] Test skipped on line 266: /dev/papr-vpd not present Signed-off-by: R Nageswara Sastry <rnsastry@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20240131130859.14968-1-rnsastry@linux.ibm.com
Diffstat (limited to 'arch/powerpc/mm')
0 files changed, 0 insertions, 0 deletions