tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 2ae0a045e6814c8c1d676d6153c605a65746aa29 commit: 46eba193d04f8bd717e525eb4110f3c46c12aec3 [3159/4898] net: stmmac: xgmac: fix handling of DPP safety error for DMA channels config: x86_64-randconfig-121-20240208 (https://download.01.org/0day-ci/archive/20240208/202402081135.lAxxBXHk-lkp@xxxxxxxxx/config) compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240208/202402081135.lAxxBXHk-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202402081135.lAxxBXHk-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): >> drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:836:20: error: initializer element is not constant { true, "TDPES0", dpp_tx_err }, ^~~~~~~~~~ drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:836:20: note: (near initialization for 'dwxgmac3_dma_dpp_errors[0].detailed_desc') drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:837:20: error: initializer element is not constant { true, "TDPES1", dpp_tx_err }, ^~~~~~~~~~ drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:837:20: note: (near initialization for 'dwxgmac3_dma_dpp_errors[1].detailed_desc') drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:838:20: error: initializer element is not constant { true, "TDPES2", dpp_tx_err }, ^~~~~~~~~~ drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:838:20: note: (near initialization for 'dwxgmac3_dma_dpp_errors[2].detailed_desc') drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:839:20: error: initializer element is not constant { true, "TDPES3", dpp_tx_err }, ^~~~~~~~~~ drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:839:20: note: (near initialization for 'dwxgmac3_dma_dpp_errors[3].detailed_desc') drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:840:20: error: initializer element is not constant { true, "TDPES4", dpp_tx_err }, ^~~~~~~~~~ drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:840:20: note: (near initialization for 'dwxgmac3_dma_dpp_errors[4].detailed_desc') drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:841:20: error: initializer element is not constant { true, "TDPES5", dpp_tx_err }, ^~~~~~~~~~ drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:841:20: note: (near initialization for 'dwxgmac3_dma_dpp_errors[5].detailed_desc') drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:842:20: error: initializer element is not constant { true, "TDPES6", dpp_tx_err }, ^~~~~~~~~~ drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:842:20: note: (near initialization for 'dwxgmac3_dma_dpp_errors[6].detailed_desc') drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:843:20: error: initializer element is not constant { true, "TDPES7", dpp_tx_err }, ^~~~~~~~~~ drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:843:20: note: (near initialization for 'dwxgmac3_dma_dpp_errors[7].detailed_desc') drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:844:20: error: initializer element is not constant { true, "TDPES8", dpp_tx_err }, ^~~~~~~~~~ drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:844:20: note: (near initialization for 'dwxgmac3_dma_dpp_errors[8].detailed_desc') drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:845:20: error: initializer element is not constant { true, "TDPES9", dpp_tx_err }, ^~~~~~~~~~ drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:845:20: note: (near initialization for 'dwxgmac3_dma_dpp_errors[9].detailed_desc') drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:846:21: error: initializer element is not constant { true, "TDPES10", dpp_tx_err }, ^~~~~~~~~~ drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:846:21: note: (near initialization for 'dwxgmac3_dma_dpp_errors[10].detailed_desc') drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:847:21: error: initializer element is not constant { true, "TDPES11", dpp_tx_err }, ^~~~~~~~~~ drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:847:21: note: (near initialization for 'dwxgmac3_dma_dpp_errors[11].detailed_desc') drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:848:21: error: initializer element is not constant { true, "TDPES12", dpp_tx_err }, ^~~~~~~~~~ drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:848:21: note: (near initialization for 'dwxgmac3_dma_dpp_errors[12].detailed_desc') drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:849:21: error: initializer element is not constant { true, "TDPES13", dpp_tx_err }, ^~~~~~~~~~ drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:849:21: note: (near initialization for 'dwxgmac3_dma_dpp_errors[13].detailed_desc') drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:850:21: error: initializer element is not constant { true, "TDPES14", dpp_tx_err }, ^~~~~~~~~~ drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:850:21: note: (near initialization for 'dwxgmac3_dma_dpp_errors[14].detailed_desc') drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:851:21: error: initializer element is not constant { true, "TDPES15", dpp_tx_err }, ^~~~~~~~~~ drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:851:21: note: (near initialization for 'dwxgmac3_dma_dpp_errors[15].detailed_desc') drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:852:20: error: initializer element is not constant { true, "RDPES0", dpp_rx_err }, ^~~~~~~~~~ drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:852:20: note: (near initialization for 'dwxgmac3_dma_dpp_errors[16].detailed_desc') drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:853:20: error: initializer element is not constant { true, "RDPES1", dpp_rx_err }, ^~~~~~~~~~ drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:853:20: note: (near initialization for 'dwxgmac3_dma_dpp_errors[17].detailed_desc') drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:854:20: error: initializer element is not constant { true, "RDPES2", dpp_rx_err }, ^~~~~~~~~~ drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:854:20: note: (near initialization for 'dwxgmac3_dma_dpp_errors[18].detailed_desc') drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:855:20: error: initializer element is not constant { true, "RDPES3", dpp_rx_err }, ^~~~~~~~~~ drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:855:20: note: (near initialization for 'dwxgmac3_dma_dpp_errors[19].detailed_desc') drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:856:20: error: initializer element is not constant { true, "RDPES4", dpp_rx_err }, ^~~~~~~~~~ drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:856:20: note: (near initialization for 'dwxgmac3_dma_dpp_errors[20].detailed_desc') drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:857:20: error: initializer element is not constant { true, "RDPES5", dpp_rx_err }, ^~~~~~~~~~ drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:857:20: note: (near initialization for 'dwxgmac3_dma_dpp_errors[21].detailed_desc') drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:858:20: error: initializer element is not constant { true, "RDPES6", dpp_rx_err }, ^~~~~~~~~~ drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:858:20: note: (near initialization for 'dwxgmac3_dma_dpp_errors[22].detailed_desc') drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:859:20: error: initializer element is not constant { true, "RDPES7", dpp_rx_err }, ^~~~~~~~~~ drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:859:20: note: (near initialization for 'dwxgmac3_dma_dpp_errors[23].detailed_desc') drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:860:20: error: initializer element is not constant { true, "RDPES8", dpp_rx_err }, ^~~~~~~~~~ drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:860:20: note: (near initialization for 'dwxgmac3_dma_dpp_errors[24].detailed_desc') drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c:861:20: error: initializer element is not constant Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for DRM_I915_DEBUG_GEM Depends on [n]: HAS_IOMEM [=y] && DRM_I915 [=m] && EXPERT [=y] && DRM_I915_WERROR [=n] Selected by [m]: - DRM_I915_DEBUG [=y] && HAS_IOMEM [=y] && DRM_I915 [=m] && EXPERT [=y] && !COMPILE_TEST [=n] vim +836 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c 832 833 static const char * const dpp_rx_err = "Read Rx Descriptor Parity checker Error"; 834 static const char * const dpp_tx_err = "Read Tx Descriptor Parity checker Error"; 835 static const struct dwxgmac3_error_desc dwxgmac3_dma_dpp_errors[32] = { > 836 { true, "TDPES0", dpp_tx_err }, 837 { true, "TDPES1", dpp_tx_err }, 838 { true, "TDPES2", dpp_tx_err }, 839 { true, "TDPES3", dpp_tx_err }, 840 { true, "TDPES4", dpp_tx_err }, 841 { true, "TDPES5", dpp_tx_err }, 842 { true, "TDPES6", dpp_tx_err }, 843 { true, "TDPES7", dpp_tx_err }, 844 { true, "TDPES8", dpp_tx_err }, 845 { true, "TDPES9", dpp_tx_err }, 846 { true, "TDPES10", dpp_tx_err }, 847 { true, "TDPES11", dpp_tx_err }, 848 { true, "TDPES12", dpp_tx_err }, 849 { true, "TDPES13", dpp_tx_err }, 850 { true, "TDPES14", dpp_tx_err }, 851 { true, "TDPES15", dpp_tx_err }, 852 { true, "RDPES0", dpp_rx_err }, 853 { true, "RDPES1", dpp_rx_err }, 854 { true, "RDPES2", dpp_rx_err }, 855 { true, "RDPES3", dpp_rx_err }, 856 { true, "RDPES4", dpp_rx_err }, 857 { true, "RDPES5", dpp_rx_err }, 858 { true, "RDPES6", dpp_rx_err }, 859 { true, "RDPES7", dpp_rx_err }, 860 { true, "RDPES8", dpp_rx_err }, 861 { true, "RDPES9", dpp_rx_err }, 862 { true, "RDPES10", dpp_rx_err }, 863 { true, "RDPES11", dpp_rx_err }, 864 { true, "RDPES12", dpp_rx_err }, 865 { true, "RDPES13", dpp_rx_err }, 866 { true, "RDPES14", dpp_rx_err }, 867 { true, "RDPES15", dpp_rx_err }, 868 }; 869 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki