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:5470:6-25: WARNING: atomic_dec_and_test variation before object free at line 5477. 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:15779:2-8: ERROR: missing iounmap; ioremap on line 15626 and execution via conditional on line 15778 /home/cocci/testing/drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c:551:29-44: ERROR: reference preceded by free on line 550 /home/cocci/testing/drivers/net/ethernet/intel/i40e/i40e_ethtool.c:4103:32-37: ERROR: invalid reference to the index variable of the iterator on line 4057 /home/cocci/testing/net/sctp/ipv6.c:115:13-17: ERROR: invalid reference to the index variable of the iterator on line 100 /home/cocci/testing/net/core/gro.c:36:25-29: ERROR: invalid reference to the index variable of the iterator on line 32 /home/cocci/testing/drivers/net/ethernet/broadcom/genet/bcmgenet.c:1474:5-13: ERROR: invalid reference to the index variable of the iterator on line 1452 /home/cocci/testing/net/smc/af_smc.c:2554:0-1: preceding lock on line 2489 /home/cocci/testing/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4483:1-7: preceding lock on line 4385 /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/mm/mm_init.c:2498:2-8: WARNING: do_div() does a 64-by-32 division, please consider using div64_ul instead. /home/cocci/testing/arch/x86/mm/init.c:54:31-32: duplicated argument to & or | /home/cocci/testing/arch/x86/mm/init.c:71:16-17: duplicated argument to & or | /home/cocci/testing/arch/x86/mm/init.c:71:27-28: duplicated argument to & or | /home/cocci/testing/arch/x86/mm/init.c:72:27-28: duplicated argument to & or | /home/cocci/testing/arch/x86/mm/init.c:73:16-17: duplicated argument to & or | /home/cocci/testing/arch/x86/mm/init.c:75:16-17: duplicated argument to & or |