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/mm/kmemleak.c:540:6-25: WARNING: atomic_dec_and_test variation before object free at line 552. /home/cocci/testing/include/net/bluetooth/hci_core.h:1620:5-24: WARNING: atomic_dec_and_test variation before object free at line 1626. /home/cocci/testing/include/net/bluetooth/hci_core.h:1620:5-24: WARNING: atomic_dec_and_test variation before object free at line 1641. 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/net/ncsi/ncsi-manage.c:1918:28-30: ERROR: invalid reference to the index variable of the iterator on line 1911 /home/cocci/testing/net/unix/af_unix.c:2520:1-7: preceding lock on line 2429 /home/cocci/testing/net/unix/af_unix.c:3346:3-9: preceding lock on line 3342 /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/marvell/octeon_ep/octep_rx.c:381:2-3: Unneeded semicolon /home/cocci/testing/net/ipv4/igmp.c:599:12-21: ERROR: pmc is NULL but dereferenced.