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/ipa/ipa_interrupt.c:249:2-9: line 249 is redundant because platform_get_irq() already prints an error 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:1509:5-7: ERROR: invalid reference to the index variable of the iterator on line 1478 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1509:38-40: ERROR: invalid reference to the index variable of the iterator on line 1478 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1509:5-7: ERROR: invalid reference to the index variable of the iterator on line 1490 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1509:38-40: ERROR: invalid reference to the index variable of the iterator on line 1490 /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/sunrpc/rpc_pipe.c:1231:2-8: preceding lock on line 1229 /home/cocci/testing/lib/checksum_kunit.c:471:27-28: WARNING: Use ARRAY_SIZE /home/cocci/testing/lib/checksum_kunit.c:472:33-34: WARNING: Use ARRAY_SIZE /home/cocci/testing/lib/checksum_kunit.c:474:38-39: WARNING: Use ARRAY_SIZE