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 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:1599:5-7: ERROR: invalid reference to the index variable of the iterator on line 1568 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1599:38-40: ERROR: invalid reference to the index variable of the iterator on line 1568 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1599:5-7: ERROR: invalid reference to the index variable of the iterator on line 1580 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1599:38-40: ERROR: invalid reference to the index variable of the iterator on line 1580 /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/drivers/net/ethernet/intel/ice/ice_ethtool.c:4021:1-7: preceding lock on line 3996 /home/cocci/testing/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4487:1-7: preceding lock on line 4389 /home/cocci/testing/net/ethtool/ioctl.c:1596:1-7: preceding lock on line 1459 /home/cocci/testing/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:2782:1-7: WARNING: do_div() does a 64-by-32 division, please consider using div64_ul instead.