The following issues were found

tools/testing/selftests/bpf/verifier/atomic_fetch_add.c
1 issues
syntax error
Error

Line: 106

              	.kfunc = "bpf_fentry_test7",
	.result = REJECT,
	.errstr = "only read is supported",
},

            

Reported by Cppcheck.

tools/testing/selftests/bpf/verifier/atomic_or.c
1 issues
syntax error
Error

Line: 102

              		BPF_EXIT_INSN(),
	},
	.result = ACCEPT,
},

            

Reported by Cppcheck.

tools/testing/selftests/bpf/verifier/atomic_xchg.c
1 issues
syntax error
Error

Line: 46

              		BPF_EXIT_INSN(),
	},
	.result = ACCEPT,
},

            

Reported by Cppcheck.

tools/testing/selftests/bpf/verifier/atomic_xor.c
1 issues
syntax error
Error

Line: 77

              		BPF_EXIT_INSN(),
	},
	.result = ACCEPT,
},

            

Reported by Cppcheck.

tools/testing/selftests/bpf/verifier/basic.c
1 issues
syntax error
Error

Line: 23

              	},
	.errstr = "not an exit",
	.result = REJECT,
},

            

Reported by Cppcheck.

tools/testing/selftests/bpf/verifier/basic_call.c
1 issues
syntax error
Error

Line: 50

              	},
	.result = ACCEPT,
	.prog_type = BPF_PROG_TYPE_SCHED_CLS,
},

            

Reported by Cppcheck.

tools/testing/selftests/bpf/verifier/basic_instr.c
1 issues
syntax error
Error

Line: 219

              	},
	.prog_type = BPF_PROG_TYPE_SCHED_CLS,
	.result = ACCEPT,
},

            

Reported by Cppcheck.

tools/testing/selftests/bpf/verifier/basic_stack.c
1 issues
syntax error
Error

Line: 64

              	},
	.errstr = "misaligned stack access",
	.result = REJECT,
},

            

Reported by Cppcheck.

tools/testing/selftests/bpf/verifier/basic_stx_ldx.c
1 issues
syntax error
Error

Line: 45

              	},
	.errstr = "R11 is invalid",
	.result = REJECT,
},

            

Reported by Cppcheck.

tools/testing/selftests/bpf/verifier/bounds.c
1 issues
syntax error
Error

Line: 755

              	.errstr_unpriv = "R0 leaks addr",
	.result_unpriv = REJECT,
	.result = ACCEPT,
},

            

Reported by Cppcheck.