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/fs/smb/client/connect.c:2827:6-25: WARNING: atomic_dec_and_test variation before object free at line 2835. /home/cocci/testing/drivers/net/ethernet/broadcom/bnxt/bnxt.c:5735:6-25: WARNING: atomic_dec_and_test variation before object free at line 5742. 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/io_uring/net.c:192:3-8: WARNING: NULL check before some freeing functions is not needed. /home/cocci/testing/drivers/net/dsa/ocelot/felix_vsc9959.c:2265:22-25: ERROR: reference preceded by free on line 2279 /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/drivers/net/dsa/mv88e6xxx/chip.c:1581:5-7: ERROR: invalid reference to the index variable of the iterator on line 1550 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1581:38-40: ERROR: invalid reference to the index variable of the iterator on line 1550 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1581:5-7: ERROR: invalid reference to the index variable of the iterator on line 1562 /home/cocci/testing/drivers/net/dsa/mv88e6xxx/chip.c:1581:38-40: ERROR: invalid reference to the index variable of the iterator on line 1562 /home/cocci/testing/drivers/net/team/team_core.c:2746:12-16: ERROR: invalid reference to the index variable of the iterator on line 2747 /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/block/drbd/drbd_receiver.c:1095:2-12: second lock on line 1095 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_main.c:9346:2-8: preceding lock on line 9326 /home/cocci/testing/net/rds/tcp_listen.c:235:1-7: preceding lock on line 200 /home/cocci/testing/drivers/net/tun.c:2040:1-7: preceding lock on line 1844 /home/cocci/testing/net/unix/af_unix.c:2523:1-7: preceding lock on line 2432 /home/cocci/testing/net/unix/af_unix.c:3349:3-9: preceding lock on line 3345 /home/cocci/testing/net/smc/af_smc.c:2554:0-1: preceding lock on line 2482 /home/cocci/testing/net/core/pktgen.c:3240:1-7: preceding lock on line 3233 /home/cocci/testing/drivers/net/dsa/ocelot/felix_vsc9959.c:1395:2-8: WARNING: do_div() does a 64-by-32 division, please consider using div64_u64 instead. /home/cocci/testing/fs/dlm/lowcomms.c:1087:26-28: ERROR: newcon -> sock is NULL but dereferenced.