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:941:14-33: WARNING: atomic_dec_and_test variation before object free at line 943. /home/cocci/testing/kernel/fork.c:1382:5-24: WARNING: atomic_dec_and_test variation before object free at line 1384. /home/cocci/testing/include/net/bluetooth/hci_core.h:1553:5-24: WARNING: atomic_dec_and_test variation before object free at line 1559. /home/cocci/testing/include/net/bluetooth/hci_core.h:1553:5-24: WARNING: atomic_dec_and_test variation before object free at line 1574. 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/ethernet/intel/i40e/i40e_main.c:15811:2-8: ERROR: missing iounmap; ioremap on line 15658 and execution via conditional on line 15810 /home/cocci/testing/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c:686:1-6: ERROR: invalid reference to the index variable of the iterator on line 664 /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/drivers/net/ethernet/intel/i40e/i40e_ethtool.c:4100:32-37: ERROR: invalid reference to the index variable of the iterator on line 4054 /home/cocci/testing/drivers/net/rionet.c:435:6-10: ERROR: invalid reference to the index variable of the iterator on line 415 /home/cocci/testing/drivers/net/team/team_core.c:2747:12-16: ERROR: invalid reference to the index variable of the iterator on line 2748 /home/cocci/testing/drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:1537:2-12: second lock on line 1537 /home/cocci/testing/drivers/net/tun.c:2035:1-7: preceding lock on line 1839 /home/cocci/testing/kernel/exit.c:1596:3-9: preceding lock on line 1591 /home/cocci/testing/kernel/exit.c:1603:4-10: preceding lock on line 1591 /home/cocci/testing/kernel/exit.c:1607:4-10: preceding lock on line 1591 /home/cocci/testing/kernel/exit.c:531:1-7: preceding lock on line 497 /home/cocci/testing/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4487:1-7: preceding lock on line 4389 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_ethtool.c:4021:1-7: preceding lock on line 3996 /home/cocci/testing/drivers/net/ethernet/faraday/ftgmac100.c:1373:0-1: preceding lock on line 1338 /home/cocci/testing/drivers/net/ethernet/faraday/ftgmac100.c:1373:0-1: preceding lock on line 1340 /home/cocci/testing/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:2782:1-7: WARNING: do_div() does a 64-by-32 division, please consider using div64_ul 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.