treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / tools / testing / selftests / bpf / verifier / basic.c
blobb8d18642653a0fae58050eaceb250f12fa2c7aa2
2 "empty prog",
3 .insns = {
4 },
5 .errstr = "unknown opcode 00",
6 .result = REJECT,
7 },
9 "only exit insn",
10 .insns = {
11 BPF_EXIT_INSN(),
13 .errstr = "R0 !read_ok",
14 .result = REJECT,
17 "no bpf_exit",
18 .insns = {
19 BPF_ALU64_REG(BPF_MOV, BPF_REG_0, BPF_REG_2),
21 .errstr = "not an exit",
22 .result = REJECT,