diff options
| author | R Nageswara Sastry <[email protected]> | 2024-01-31 13:08:59 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2024-02-05 11:47:31 +0000 |
| commit | f09696279b5dd1770a3de2e062f1c5d1449213ff (patch) | |
| tree | ff3e8649d23a97e11ada054359c045eb87f08604 /scripts/clang-tools/gen_compile_commands.py | |
| parent | powerpc/64: Set task pt_regs->link to the LR value on scv entry (diff) | |
| download | kernel-f09696279b5dd1770a3de2e062f1c5d1449213ff.tar.gz kernel-f09696279b5dd1770a3de2e062f1c5d1449213ff.zip | |
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 <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
