The following issues were found

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

Line: 231

              	.retval = 42,
	/* Verifier rewrite for unpriv skips tail call here. */
	.retval_unpriv = 2,
},

            

Reported by Cppcheck.

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

Line: 18

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

            

Reported by Cppcheck.

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

Line: 156

              	.result = ACCEPT,
	.result_unpriv = ACCEPT,
	.insn_processed = 15,
},

            

Reported by Cppcheck.

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

Line: 658

              	.errstr = "invalid mem access",
	.result_unpriv = REJECT,
	.errstr_unpriv = "unknown func",
},

            

Reported by Cppcheck.

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

Line: 106

              	.result_unpriv = REJECT,
	.result = ACCEPT,
	.retval = POINTER_VALUE,
},

            

Reported by Cppcheck.

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

Line: 333

              	.result = REJECT,
	.errstr = "inside bpf_spin_lock",
	.prog_type = BPF_PROG_TYPE_SCHED_CLS,
},

            

Reported by Cppcheck.

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

Line: 359

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

            

Reported by Cppcheck.

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

Line: 533

              	},
	.result = ACCEPT,
	.retval = 0,
},

            

Reported by Cppcheck.

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

Line: 39

              	.errstr = "R0 !read_ok",
	.errstr_unpriv = "R1 pointer comparison",
	.result = REJECT,
},

            

Reported by Cppcheck.

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

Line: 539

              	.errstr_unpriv = "R2 pointer comparison",
	.result_unpriv = REJECT,
	.result = ACCEPT,
},

            

Reported by Cppcheck.