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:5488:6-25: WARNING: atomic_dec_and_test variation before object free at line 5495. 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/kernel/trace/trace_output.c:971:25-29: ERROR: invalid reference to the index variable of the iterator on line 954 /home/cocci/testing/drivers/net/ethernet/intel/igb/igb_main.c:7862:3-8: ERROR: invalid reference to the index variable of the iterator on line 7854 /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/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/drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h:9731:4-12: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays) /home/cocci/testing/drivers/net/ethernet/amd/lance.c:271:17-18: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/drivers/net/ethernet/amd/lance.c:273:26-27: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/drivers/net/ethernet/amd/lance.c:276:26-27: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/drivers/net/ethernet/amd/lance.c:279:26-27: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/drivers/net/ethernet/amd/lance.c:284:26-27: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/drivers/net/ethernet/amd/lance.c:287:40-41: WARNING: sum of probable bitmasks, consider | /home/cocci/testing/drivers/net/ethernet/amd/lance.c:290:26-27: WARNING: sum of probable bitmasks, consider |