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:5586:6-25: WARNING: atomic_dec_and_test variation before object free at line 5593. 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/drivers/net/ethernet/intel/i40e/i40e_main.c:15839:2-8: ERROR: missing iounmap; ioremap on line 15686 and execution via conditional on line 15838 /home/cocci/testing/drivers/net/ethernet/intel/igb/igb_main.c:7876:3-8: ERROR: invalid reference to the index variable of the iterator on line 7868 /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c:6242:9-13: ERROR: invalid reference to the index variable of the iterator on line 6234 /home/cocci/testing/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4474:1-7: preceding lock on line 4376 /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c:6446:1-7: preceding lock on line 6407 /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c:6583:1-7: preceding lock on line 6476 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_main.c:9313:2-8: preceding lock on line 9293 /home/cocci/testing/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:2769:1-7: WARNING: do_div() does a 64-by-32 division, please consider using div64_ul instead. /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c:680:7-44: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c:584:29-63: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c:570:7-51: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c:580:7-48: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c:594:7-48: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c:621:7-76: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c:628:7-84: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c:643:7-65: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c:633:7-54: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c:615:7-50: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c:638:7-51: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c:610:7-55: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c:687:29-58: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c:575:7-57: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c:605:7-47: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c:589:7-52: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c:600:7-61: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c:652:28-66: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD /home/cocci/testing/net/ipv4/igmp.c:598:12-21: ERROR: pmc is NULL but dereferenced.