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:5584:6-25: WARNING: atomic_dec_and_test variation before object free at line 5591. 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/net/sctp/ipv6.c:115:13-17: ERROR: invalid reference to the index variable of the iterator on line 100 /home/cocci/testing/net/sctp/protocol.c:820:13-17: ERROR: invalid reference to the index variable of the iterator on line 806 /home/cocci/testing/drivers/net/wwan/t7xx/t7xx_modem_ops.c:539:6-11: ERROR: invalid reference to the index variable of the iterator on line 516 /home/cocci/testing/drivers/net/wwan/t7xx/t7xx_modem_ops.c:561:7-12: ERROR: invalid reference to the index variable of the iterator on line 516 /home/cocci/testing/net/smc/af_smc.c:2554:0-1: preceding lock on line 2481 /home/cocci/testing/net/rxrpc/sendmsg.c:410:1-7: preceding lock on line 442 /home/cocci/testing/net/rxrpc/sendmsg.c:415:1-7: preceding lock on line 442 /home/cocci/testing/drivers/net/ethernet/sfc/siena/ptp.c:1446:1-4: alloc with no test, possible model on line 1461 /home/cocci/testing/drivers/net/ethernet/sfc/ptp.c:1568:1-4: alloc with no test, possible model on line 1582 /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c:577:9-32: duplicated argument to & or | /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c:577:35-58: duplicated argument to & or |