summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/test_lirc_mode2_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/bpf/test_lirc_mode2_user.c')
-rw-r--r--tools/testing/selftests/bpf/test_lirc_mode2_user.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/testing/selftests/bpf/test_lirc_mode2_user.c b/tools/testing/selftests/bpf/test_lirc_mode2_user.c
index 88e4aeab21b7..cd191da20d14 100644
--- a/tools/testing/selftests/bpf/test_lirc_mode2_user.c
+++ b/tools/testing/selftests/bpf/test_lirc_mode2_user.c
@@ -50,8 +50,8 @@ int main(int argc, char **argv)
{
struct bpf_object *obj;
int ret, lircfd, progfd, inputfd;
- int testir1 = 0x1dead;
- int testir2 = 0x20101;
+ int testir1 = 0x1ead;
+ int testir2 = 0x2101;
u32 prog_ids[10], prog_flags[10], prog_cnt;
if (argc != 3) {
@@ -125,7 +125,7 @@ int main(int argc, char **argv)
}
if (event.type == EV_MSC && event.code == MSC_SCAN &&
- event.value == 0xdead) {
+ event.value == 0x1ead) {
break;
}
}