Please check for false positives in the output before submitting a patch. When using "patch" mode, carefully review the patch before submitting it. 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/ethernet/broadcom/genet/bcmgenet.c:1474:5-13: ERROR: invalid reference to the index variable of the iterator on line 1452 /home/cocci/testing/net/core/gro.c:35:25-29: ERROR: invalid reference to the index variable of the iterator on line 31 /home/cocci/testing/net/unix/af_unix.c:2471:1-7: preceding lock on line 2380 /home/cocci/testing/net/unix/af_unix.c:3242:3-9: preceding lock on line 3238 /home/cocci/testing/drivers/net/tun.c:2031:1-7: preceding lock on line 1835 /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/microchip/sparx5/sparx5_tc_flower.c:1503:5-8: Unneeded variable: "err". Return "- ENOENT" on line 1518