Please check for false positives in the output before submitting a patch. When using "patch" mode, carefully review the patch before submitting it. 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/net/core/gro.c:36:25-29: ERROR: invalid reference to the index variable of the iterator on line 32 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_vf_lib.c:965:1-7: preceding lock on line 858 /home/cocci/testing/net/ethtool/ioctl.c:1596:1-7: preceding lock on line 1459 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_ethtool.c:4021:1-7: preceding lock on line 3996 /home/cocci/testing/drivers/net/ethernet/intel/ice/ice_main.c:9299:2-8: preceding lock on line 9279 /home/cocci/testing/drivers/net/ethernet/intel/iavf/iavf_main.c:2238:6-8: WARNING: possible condition with no effect (if == else) /home/cocci/testing/drivers/net/wireless/intel/iwlwifi/pcie/internal.h:112: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/hyperv/hyperv_net.h:467:38-46: 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/hyperv/hyperv_net.h:827:22-28: 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/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c:120:6-9: 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/intel/idpf/idpf.h:613:1-27: duplicated argument to & or | /home/cocci/testing/drivers/net/ethernet/intel/idpf/idpf.h:618:1-27: duplicated argument to & or |