treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / tools / testing / selftests / bpf / verifier / ld_dw.c
blob0f18e62f0099bbcf2e6bb982138c42cda40b0d76
2 "ld_dw: xor semi-random 64 bit imms, test 1",
3 .insns = { },
4 .data = { },
5 .fill_helper = bpf_fill_rand_ld_dw,
6 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
7 .result = ACCEPT,
8 .retval = 4090,
9 },
11 "ld_dw: xor semi-random 64 bit imms, test 2",
12 .insns = { },
13 .data = { },
14 .fill_helper = bpf_fill_rand_ld_dw,
15 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
16 .result = ACCEPT,
17 .retval = 2047,
20 "ld_dw: xor semi-random 64 bit imms, test 3",
21 .insns = { },
22 .data = { },
23 .fill_helper = bpf_fill_rand_ld_dw,
24 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
25 .result = ACCEPT,
26 .retval = 511,
29 "ld_dw: xor semi-random 64 bit imms, test 4",
30 .insns = { },
31 .data = { },
32 .fill_helper = bpf_fill_rand_ld_dw,
33 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
34 .result = ACCEPT,
35 .retval = 5,
38 "ld_dw: xor semi-random 64 bit imms, test 5",
39 .insns = { },
40 .data = { },
41 .fill_helper = bpf_fill_rand_ld_dw,
42 .prog_type = BPF_PROG_TYPE_SCHED_CLS,
43 .result = ACCEPT,
44 .retval = 1000000 - 6,