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/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/net/unix/garbage.c:454:17-23: ERROR: invalid reference to the index variable of the iterator on line 486 /home/cocci/testing/drivers/net/virtio_net.c:3530:1-7: preceding lock on line 3484 /home/cocci/testing/net/unix/af_unix.c:2471:1-7: preceding lock on line 2380 /home/cocci/testing/net/unix/af_unix.c:3244:3-9: preceding lock on line 3240 /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/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/mm/mm_init.c:2499:2-8: WARNING: do_div() does a 64-by-32 division, please consider using div64_ul instead. /home/cocci/testing/arch/x86/mm/init.c:55:31-32: duplicated argument to & or | /home/cocci/testing/arch/x86/mm/init.c:72:16-17: duplicated argument to & or | /home/cocci/testing/arch/x86/mm/init.c:72:27-28: duplicated argument to & or | /home/cocci/testing/arch/x86/mm/init.c:73:27-28: duplicated argument to & or | /home/cocci/testing/arch/x86/mm/init.c:74:16-17: duplicated argument to & or | /home/cocci/testing/arch/x86/mm/init.c:76:16-17: duplicated argument to & or |