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:5587:6-25: WARNING: atomic_dec_and_test variation before object free at line 5594. 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/drivers/net/wwan/t7xx/t7xx_modem_ops.c:539:6-11: ERROR: invalid reference to the index variable of the iterator on line 516 /home/cocci/testing/drivers/net/wwan/t7xx/t7xx_modem_ops.c:561:7-12: ERROR: invalid reference to the index variable of the iterator on line 516 /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/net/sctp/protocol.c:820:13-17: ERROR: invalid reference to the index variable of the iterator on line 806 /home/cocci/testing/drivers/net/ethernet/intel/igb/igb_main.c:7876:3-8: ERROR: invalid reference to the index variable of the iterator on line 7868 /home/cocci/testing/drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h:294:25-42: 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/sfc/ptp.c:1568:1-4: alloc with no test, possible model on line 1582