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/sun/niu.c:9586:5-24: WARNING: atomic_dec_and_test variation before object free at line 9587. /home/cocci/testing/drivers/net/ethernet/broadcom/bnxt/bnxt.c:5735:6-25: WARNING: atomic_dec_and_test variation before object free at line 5742. warning: line 140: should noop_llseek be a metavariable? warning: line 222: should nonseekable_open be a metavariable? warning: line 289: should nonseekable_open be a metavariable? warning: line 337: should nonseekable_open be a metavariable? /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1572:5-7: ERROR: invalid reference to the index variable of the iterator on line 1541 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1572:38-40: ERROR: invalid reference to the index variable of the iterator on line 1541 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1572:5-7: ERROR: invalid reference to the index variable of the iterator on line 1553 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1572:38-40: ERROR: invalid reference to the index variable of the iterator on line 1553 /home/cocci/testing/drivers/net/tun.c:2040:1-7: preceding lock on line 1844 /home/cocci/testing/net/ipv4/inet_connection_sock.c:424:1-7: preceding lock on line 386 /home/cocci/testing/net/ipv4/inet_connection_sock.c:608:1-7: preceding lock on line 571 /home/cocci/testing/drivers/net/ethernet/sfc/tc.c:1584:29-80: WARNING avoid newline at end of message in NL_SET_ERR_MSG_MOD /home/cocci/testing/drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c:102:5-8: Unneeded variable: "ret". Return "0" on line 105 /home/cocci/testing/net/ipv4/igmp.c:599:12-21: ERROR: pmc is NULL but dereferenced.