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/broadcom/bnxt/bnxt.c:5594:6-25: WARNING: atomic_dec_and_test variation before object free at line 5601. /home/cocci/testing/kernel/fork.c:944:14-33: WARNING: atomic_dec_and_test variation before object free at line 946. /home/cocci/testing/kernel/fork.c:1384:5-24: WARNING: atomic_dec_and_test variation before object free at line 1386. 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/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/kernel/exit.c:489:21-22: ERROR: invalid reference to the index variable of the iterator on line 478 /home/cocci/testing/kernel/exit.c:1587:3-9: preceding lock on line 1582 /home/cocci/testing/kernel/exit.c:1594:4-10: preceding lock on line 1582 /home/cocci/testing/kernel/exit.c:1598:4-10: preceding lock on line 1582 /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/tun.c:2019:1-7: preceding lock on line 1823 /home/cocci/testing/drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h:9768:4-12: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays)