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: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/drivers/net/ethernet/intel/ice/ice_ethtool.c:3609:1-7: preceding lock on line 3584 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_main.c:9103:2-8: preceding lock on line 9083 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_vf_lib.c:974:1-7: preceding lock on line 878 /home/cocci/testing/net/sunrpc/rpc_pipe.c:1231:2-8: preceding lock on line 1229 /home/cocci/testing/drivers/net/tun.c:2036:1-7: preceding lock on line 1840 /home/cocci/testing/mm/page_alloc.c:5848:2-8: WARNING: do_div() does a 64-by-32 division, please consider using div64_ul instead. /home/cocci/testing/drivers/net/ethernet/renesas/ravb_main.c:560:36-37: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/net/ipv4/igmp.c:597:12-21: ERROR: pmc is NULL but dereferenced.