Please check for false positives in the output before submitting a patch. When using "patch" mode, carefully review the patch before submitting it. /home/cocci/testing/drivers/net/ethernet/broadcom/bnxt/bnxt.c:5435:6-25: WARNING: atomic_dec_and_test variation before object free at line 5442. /home/cocci/testing/kernel/bpf/syscall.c:2277:5-26: WARNING: atomic_dec_and_test variation before object free at line 2280. /home/cocci/testing/kernel/bpf/syscall.c:3052:6-27: WARNING: atomic_dec_and_test variation before object free at line 3056. /home/cocci/testing/kernel/bpf/syscall.c:3062:6-27: WARNING: atomic_dec_and_test variation before object free at line 3064. /home/cocci/testing/kernel/bpf/syscall.c:786:5-26: WARNING: atomic_dec_and_test variation before object free at line 788. warning: line 134: should no_llseek be a metavariable? warning: line 141: should noop_llseek be a metavariable? warning: line 223: should nonseekable_open be a metavariable? warning: line 290: should nonseekable_open be a metavariable? warning: line 338: should nonseekable_open be a metavariable? /home/cocci/testing/fs/9p/vfs_inode_dotl.c:85:22-24: ERROR: reference preceded by free on line 81 /home/cocci/testing/net/core/gro.c:35:25-29: ERROR: invalid reference to the index variable of the iterator on line 31 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_main.c:9148:2-8: preceding lock on line 9128 /home/cocci/testing/net/unix/af_unix.c:2517:1-7: preceding lock on line 2426 /home/cocci/testing/net/unix/af_unix.c:3286:3-9: preceding lock on line 3282 /home/cocci/testing/net/smc/af_smc.c:2556:0-1: preceding lock on line 2491 /home/cocci/testing/tools/lib/bpf/libbpf.c:1969:43-48: WARNING: conversion to bool not needed here /home/cocci/testing/arch/s390/net/bpf_jit_comp.c:1562:33-34: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/arch/s390/net/bpf_jit_comp.c:1614:23-24: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/arch/x86/net/bpf_jit_comp32.c:1274:5-8: Unneeded variable: "cnt". Return "0" on line 1283 /home/cocci/testing/tools/testing/selftests/bpf/benchs/bench_local_storage_create.c:189:33-34: Unneeded semicolon /home/cocci/testing/kernel/bpf/helpers.c:1357:33-38: ERROR: t is NULL but dereferenced.