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 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/ethernet/intel/igb/igb_main.c:7876:3-8: ERROR: invalid reference to the index variable of the iterator on line 7868 /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/drivers/net/wwan/t7xx/t7xx_modem_ops.c:540:6-11: ERROR: invalid reference to the index variable of the iterator on line 517 /home/cocci/testing/drivers/net/wwan/t7xx/t7xx_modem_ops.c:562:7-12: ERROR: invalid reference to the index variable of the iterator on line 517 /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:834:13-17: ERROR: invalid reference to the index variable of the iterator on line 820 /home/cocci/testing/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c:687:1-6: ERROR: invalid reference to the index variable of the iterator on line 665 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_main.c:9383:2-8: preceding lock on line 9363 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_ethtool.c:3997:1-7: preceding lock on line 3972 /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 |