mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 17:58:24 +07:00
selftests: ir: skip when lirc device doesn't exist.
Skip instead of fail when lirc device doesn't exist. Signed-off-by: Shuah Khan <shuah@kernel.org> Acked-by: Sean Young <sean@mess.org> Signed-off-by: Shuah Khan <shuah@kernel.org>
This commit is contained in:
parent
ed675ed9da
commit
a5180977a3
@ -76,7 +76,7 @@ int lirc_open(const char *rc)
|
||||
}
|
||||
|
||||
if (!dent)
|
||||
ksft_exit_fail_msg("cannot find lirc device for %s\n", rc);
|
||||
ksft_exit_skip("cannot find lirc device for %s\n", rc);
|
||||
|
||||
closedir(d);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user