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: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/drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c:6272:9-13: ERROR: invalid reference to the index variable of the iterator on line 6264 /home/cocci/testing/drivers/net/ethernet/faraday/ftgmac100.c:1394:0-1: preceding lock on line 1360 /home/cocci/testing/drivers/net/ethernet/faraday/ftgmac100.c:1394:0-1: preceding lock on line 1362 /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c:6476:1-7: preceding lock on line 6437 /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c:6613:1-7: preceding lock on line 6506 /home/cocci/testing/drivers/net/tun.c:2040:1-7: preceding lock on line 1844 /home/cocci/testing/drivers/net/ethernet/freescale/ucc_geth.h:645:4-8: 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/marvell/octeontx2/af/rvu_npc_fs.c:577:9-32: duplicated argument to & or | /home/cocci/testing/drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c:577:35-58: duplicated argument to & or |