diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2022-07-13 22:46:17 +0200 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2022-07-14 14:36:24 -0600 |
commit | 4d8f52ac5fa9eede7b7aa2f2d67c841d9eeb655f (patch) | |
tree | 28c786d296f297eb13f9dd182ad6ecf1659eeabc /drivers/pci/controller/pci-hyperv.c | |
parent | 04fd937eb652fd9b908f885a373960ebad5cd72b (diff) |
selftests: timers: clocksource-switch: fix passing errors from child
The return value from system() is a waitpid-style integer. Do not return
it directly because with the implicit masking in exit() it will always
return 0. Access it with appropriate macros to really pass on errors.
Fixes: 7290ce1423c3 ("selftests/timers: Add clocksource-switch test from timetest suite")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: John Stultz <jstultz@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'drivers/pci/controller/pci-hyperv.c')
0 files changed, 0 insertions, 0 deletions