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/kernel/fork.c:949:14-33: WARNING: atomic_dec_and_test variation before object free at line 951. /home/cocci/testing/kernel/fork.c:1391:5-24: WARNING: atomic_dec_and_test variation before object free at line 1393. warning: line 140: should noop_llseek be a metavariable? warning: line 222: should nonseekable_open be a metavariable? warning: line 289: should nonseekable_open be a metavariable? warning: line 337: should nonseekable_open be a metavariable? /home/cocci/testing/kernel/exit.c:514:18-19: ERROR: invalid reference to the index variable of the iterator on line 507 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1621:5-7: ERROR: invalid reference to the index variable of the iterator on line 1590 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1621:38-40: ERROR: invalid reference to the index variable of the iterator on line 1590 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1621:5-7: ERROR: invalid reference to the index variable of the iterator on line 1602 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1621:38-40: ERROR: invalid reference to the index variable of the iterator on line 1602 /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c:6272:9-13: ERROR: invalid reference to the index variable of the iterator on line 6264 /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c:6476:1-7: preceding lock on line 6437 /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c:6613:1-7: preceding lock on line 6506 /home/cocci/testing/kernel/exit.c:1651:3-9: preceding lock on line 1646 /home/cocci/testing/kernel/exit.c:1658:4-10: preceding lock on line 1646 /home/cocci/testing/kernel/exit.c:1662:4-10: preceding lock on line 1646 /home/cocci/testing/kernel/exit.c:530:1-7: preceding lock on line 496 /home/cocci/testing/drivers/net/tun.c:2039:1-7: preceding lock on line 1843 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_main.c:9346:2-8: preceding lock on line 9326 /home/cocci/testing/net/unix/af_unix.c:2500:1-7: preceding lock on line 2409 /home/cocci/testing/net/unix/af_unix.c:3326:3-9: preceding lock on line 3322 /home/cocci/testing/drivers/net/ethernet/mscc/ocelot_ptp.c:156:1-7: WARNING: do_div() does a 64-by-32 division, please consider using div64_long instead. /home/cocci/testing/drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c:102:5-8: Unneeded variable: "ret". Return "0" on line 105 /home/cocci/testing/net/ipv6/mcast.c:2064:12-21: ERROR: pmc is NULL but dereferenced. /home/cocci/testing/net/ipv4/igmp.c:598:12-21: ERROR: pmc is NULL but dereferenced. /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c:577:9-32: duplicated argument to & or | /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c:577:35-58: duplicated argument to & or |