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:5615:6-25: WARNING: atomic_dec_and_test variation before object free at line 5622. 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/broadcom/bnx2x/bnx2x_main.c:12994:27-31: ERROR: invalid reference to the index variable of the iterator on line 12983 /home/cocci/testing/drivers/net/ethernet/intel/igb/igb_main.c:7861:3-8: ERROR: invalid reference to the index variable of the iterator on line 7853 /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_main.c:9297:2-8: preceding lock on line 9277 /home/cocci/testing/net/ethtool/ioctl.c:1549:1-7: preceding lock on line 1436 /home/cocci/testing/drivers/net/ethernet/intel/iavf/iavf_main.c:2238:6-8: WARNING: possible condition with no effect (if == else) /home/cocci/testing/drivers/net/ethernet/ti/icssg/icssg_switchdev.c:236:5-8: Unneeded variable: "ret". Return "0" on line 252 /home/cocci/testing/drivers/net/ethernet/ti/icssg/icssg_switchdev.c:264:5-8: Unneeded variable: "ret". Return "0" on line 283