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:15778:2-8: ERROR: missing iounmap; ioremap on line 15625 and execution via conditional on line 15777 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1568:5-7: ERROR: invalid reference to the index variable of the iterator on line 1537 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1568:38-40: ERROR: invalid reference to the index variable of the iterator on line 1537 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1568:5-7: ERROR: invalid reference to the index variable of the iterator on line 1549 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1568:38-40: ERROR: invalid reference to the index variable of the iterator on line 1549 /home/cocci/testing/drivers/net/ethernet/intel/igb/igb_main.c:7860:3-8: ERROR: invalid reference to the index variable of the iterator on line 7852 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_main.c:9248:2-8: preceding lock on line 9228 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_vf_lib.c:967:1-7: preceding lock on line 860 /home/cocci/testing/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c:46:85-86: WARNING: Use ARRAY_SIZE /home/cocci/testing/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c:69:63-64: WARNING: Use ARRAY_SIZE /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/microchip/sparx5/sparx5_tc_flower.c:1526:5-8: Unneeded variable: "err". Return "- ENOENT" on line 1541