]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
selftests/bpf: CONFIG_LIRC required for test_lirc_mode2.sh
authorAlan Maguire <alan.maguire@oracle.com>
Fri, 22 May 2020 11:36:29 +0000 (12:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jun 2020 07:32:48 +0000 (09:32 +0200)
[ Upstream commit a5dfaa2ab94057dd75c7911143482a0a85593c14 ]

test_lirc_mode2.sh assumes presence of /sys/class/rc/rc0/lirc*/uevent
which will not be present unless CONFIG_LIRC=y

Fixes: 6bdd533cee9a ("bpf: add selftest for lirc_mode2 type program")
Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/1590147389-26482-3-git-send-email-alan.maguire@oracle.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/bpf/config

index 48e058552eb7875a6e6f09feda7d8dcfd9256e40..2118e23ac07a8e35cd219a6a5ccd439cdf7116b5 100644 (file)
@@ -38,3 +38,4 @@ CONFIG_IPV6_SIT=m
 CONFIG_BPF_JIT=y
 CONFIG_BPF_LSM=y
 CONFIG_SECURITY=y
+CONFIG_LIRC=y