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/io_uring/net.c:193:3-8: WARNING: NULL check before some freeing functions is not needed. /home/cocci/testing/drivers/net/ethernet/intel/i40e/i40e_ethtool.c:4100:32-37: ERROR: invalid reference to the index variable of the iterator on line 4054 /home/cocci/testing/kernel/trace/trace_output.c:1016:25-29: ERROR: invalid reference to the index variable of the iterator on line 999 /home/cocci/testing/net/unix/garbage.c:451:17-23: ERROR: invalid reference to the index variable of the iterator on line 483 /home/cocci/testing/net/smc/af_smc.c:2562:0-1: preceding lock on line 2489 /home/cocci/testing/net/unix/af_unix.c:2518:1-7: preceding lock on line 2427 /home/cocci/testing/net/unix/af_unix.c:3285:3-9: preceding lock on line 3281 /home/cocci/testing/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:4487:1-7: preceding lock on line 4389 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_ethtool.c:3672:1-7: preceding lock on line 3647 /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/marvell/mvpp2/mvpp2_main.c:2782:1-7: WARNING: do_div() does a 64-by-32 division, please consider using div64_ul instead. /home/cocci/testing/drivers/net/ethernet/mscc/ocelot_ptp.c:154:1-7: WARNING: do_div() does a 64-by-32 division, please consider using div64_long instead. /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/sfc/siena/ptp.c:1446:1-4: alloc with no test, possible model on line 1461