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:553:29-44: ERROR: reference preceded by free on line 552 /home/cocci/testing/drivers/net/ethernet/intel/igb/igb_main.c:7899:3-8: ERROR: invalid reference to the index variable of the iterator on line 7891 /home/cocci/testing/net/rxrpc/sendmsg.c:422:1-7: preceding lock on line 454 /home/cocci/testing/net/rxrpc/sendmsg.c:427:1-7: preceding lock on line 454 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_main.c:9150:2-8: preceding lock on line 9130 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_ethtool.c:3605:1-7: preceding lock on line 3580 /home/cocci/testing/drivers/net/ethernet/intel/iavf/iavf_main.c:2275:6-8: WARNING: possible condition with no effect (if == else) /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c:575:9-32: duplicated argument to & or | /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c:575:35-58: duplicated argument to & or |