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:5478:6-25: WARNING: atomic_dec_and_test variation before object free at line 5485. 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/include/net/flow_offload.h:378:6-7: ERROR: iterator variable bound on line 377 cannot be NULL /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/net/core/gro.c:35:25-29: ERROR: invalid reference to the index variable of the iterator on line 31 /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c:6157:9-13: ERROR: invalid reference to the index variable of the iterator on line 6149 /home/cocci/testing/drivers/net/tun.c:2031:1-7: preceding lock on line 1835 /home/cocci/testing/net/unix/af_unix.c:2471:1-7: preceding lock on line 2380 /home/cocci/testing/net/unix/af_unix.c:3240:3-9: preceding lock on line 3236 /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c:6361:1-7: preceding lock on line 6322 /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c:6498:1-7: preceding lock on line 6391 /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 /home/cocci/testing/drivers/net/ethernet/microchip/sparx5/sparx5_tc_flower.c:1503:5-8: Unneeded variable: "err". Return "- ENOENT" on line 1518