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:5435:6-25: WARNING: atomic_dec_and_test variation before object free at line 5442. 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/net/l2tp/l2tp_ppp.c:847:23-30: ERROR: reference preceded by free on line 797 /home/cocci/testing/net/l2tp/l2tp_ppp.c:852:28-35: ERROR: reference preceded by free on line 797 /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/igb/igb_main.c:7886:3-8: ERROR: invalid reference to the index variable of the iterator on line 7878 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_ethtool.c:3687:1-7: preceding lock on line 3662 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_main.c:9148:2-8: preceding lock on line 9128 /home/cocci/testing/net/rxrpc/sendmsg.c:410:1-7: preceding lock on line 442 /home/cocci/testing/net/rxrpc/sendmsg.c:415:1-7: preceding lock on line 442 /home/cocci/testing/drivers/net/ethernet/intel/iavf/iavf_main.c:2266:6-8: WARNING: possible condition with no effect (if == else) /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 |