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/chelsio/cxgb4/cxgb4_uld.c:453:17-36: WARNING: atomic_dec_and_test variation before object free at line 456. 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/ethernet/marvell/octeontx2/af/rvu_nix.c:6157:9-13: ERROR: invalid reference to the index variable of the iterator on line 6149 /home/cocci/testing/net/unix/garbage.c:457:17-23: ERROR: invalid reference to the index variable of the iterator on line 489 /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c:6361:1-7: preceding lock on line 6322 /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c:6498:1-7: preceding lock on line 6391 /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/sfc/mcdi_filters.c:553:1-7: preceding lock on line 383 /home/cocci/testing/net/unix/af_unix.c:2476:1-7: preceding lock on line 2385 /home/cocci/testing/net/unix/af_unix.c:3243:3-9: preceding lock on line 3239 /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.