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:5590:6-25: WARNING: atomic_dec_and_test variation before object free at line 5597. /home/cocci/testing/kernel/fork.c:942:14-33: WARNING: atomic_dec_and_test variation before object free at line 944. /home/cocci/testing/kernel/fork.c:1383:5-24: WARNING: atomic_dec_and_test variation before object free at line 1385. 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/drivers/net/dsa/ocelot/felix_vsc9959.c:2265:22-25: ERROR: reference preceded by free on line 2279 /home/cocci/testing/net/bridge/netfilter/ebtables.c:933:11-12: ERROR: iterator variable bound on line 927 cannot be NULL /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c:6194:9-13: ERROR: invalid reference to the index variable of the iterator on line 6186 /home/cocci/testing/net/sctp/protocol.c:820:13-17: ERROR: invalid reference to the index variable of the iterator on line 806 /home/cocci/testing/kernel/exit.c:515:18-19: ERROR: invalid reference to the index variable of the iterator on line 508 /home/cocci/testing/net/bridge/netfilter/ebtables.c:331:3-9: preceding lock on line 328 /home/cocci/testing/net/bridge/netfilter/ebtables.c:357:3-9: preceding lock on line 328 /home/cocci/testing/net/bridge/netfilter/ebtables.c:357:3-9: preceding lock on line 349 /home/cocci/testing/drivers/net/tun.c:2035:1-7: preceding lock on line 1839 /home/cocci/testing/kernel/exit.c:1595:3-9: preceding lock on line 1590 /home/cocci/testing/kernel/exit.c:1602:4-10: preceding lock on line 1590 /home/cocci/testing/kernel/exit.c:1606:4-10: preceding lock on line 1590 /home/cocci/testing/kernel/exit.c:531:1-7: preceding lock on line 497 /home/cocci/testing/net/netfilter/nf_conntrack_core.c:113:2-8: preceding lock on line 107 /home/cocci/testing/net/unix/af_unix.c:2523:1-7: preceding lock on line 2432 /home/cocci/testing/net/unix/af_unix.c:3349:3-9: preceding lock on line 3345 /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c:6398:1-7: preceding lock on line 6359 /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c:6535:1-7: preceding lock on line 6428 /home/cocci/testing/drivers/net/dsa/ocelot/felix_vsc9959.c:1395:2-8: WARNING: do_div() does a 64-by-32 division, please consider using div64_u64 instead. /home/cocci/testing/drivers/net/ethernet/mscc/ocelot_ptp.c:154:1-7: WARNING: do_div() does a 64-by-32 division, please consider using div64_long instead. /home/cocci/testing/drivers/net/ethernet/sfc/ptp.c:1568:1-4: alloc with no test, possible model on line 1582 /home/cocci/testing/drivers/net/ethernet/sfc/siena/ptp.c:1446:1-4: alloc with no test, possible model on line 1461