Re: [PATCH v4 05/18] EDAC/synopsys: Add DDRC basic parameters infrastructure

From: Serge Semin
Date: Tue Sep 26 2023 - 04:56:19 EST


On Tue, Sep 26, 2023 at 04:07:49PM +0800, kernel test robot wrote:
> Hi Serge,
>
> kernel test robot noticed the following build warnings:
>
> [auto build test WARNING on ras/edac-for-next]
> [also build test WARNING on linus/master v6.6-rc2 next-20230921]
> [cannot apply to xilinx-xlnx/master bp/for-next]
> [If your patch is applied to the wrong git tree, kindly drop us a note.
> And when submitting patch, we suggest to use '--base' as documented in
> https://git-scm.com/docs/git-format-patch#_base_tree_information]
>
> url: https://github.com/intel-lab-lkp/linux/commits/Serge-Semin/EDAC-synopsys-Convert-sysfs-nodes-to-debugfs-ones/20230921-035302
> base: https://git.kernel.org/pub/scm/linux/kernel/git/ras/ras.git edac-for-next
> patch link: https://lore.kernel.org/r/20230920192806.29960-6-fancer.lancer%40gmail.com
> patch subject: [PATCH v4 05/18] EDAC/synopsys: Add DDRC basic parameters infrastructure
> config: arm64-randconfig-003-20230924 (https://download.01.org/0day-ci/archive/20230924/202309241117.1QIu7Ipb-lkp@xxxxxxxxx/config)
> compiler: aarch64-linux-gcc (GCC) 13.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230924/202309241117.1QIu7Ipb-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 <yujie.liu@xxxxxxxxx>
> | Closes: https://lore.kernel.org/r/202309241117.1QIu7Ipb-lkp@xxxxxxxxx/
>
> All warnings (new ones prefixed by >>):
>
> >> drivers/edac/synopsys_edac.c:224: warning: Enum value 'SNPS_DQ_32' not described in enum 'snps_dq_width'
> >> drivers/edac/synopsys_edac.c:224: warning: Enum value 'SNPS_DQ_64' not described in enum 'snps_dq_width'
>
>
> vim +224 drivers/edac/synopsys_edac.c
>
> c85ef1323d2330 Serge Semin 2023-09-20 215
> 9e617225f1d8ba Serge Semin 2023-09-20 216 /**
> 9e617225f1d8ba Serge Semin 2023-09-20 217 * enum snps_dq_width - SDRAM DQ bus width (ECC capable).
> 9e617225f1d8ba Serge Semin 2023-09-20 218 * SNPS_DQ_32: 32-bit memory data width.
> 9e617225f1d8ba Serge Semin 2023-09-20 219 * SNPS_DQ_64: 64-bit memory data width.
>
> a @ char is required in front of each name
>
> 9e617225f1d8ba Serge Semin 2023-09-20 220 */
> 9e617225f1d8ba Serge Semin 2023-09-20 221 enum snps_dq_width {
> 9e617225f1d8ba Serge Semin 2023-09-20 222 SNPS_DQ_32 = 2,
> 9e617225f1d8ba Serge Semin 2023-09-20 223 SNPS_DQ_64 = 3,
> 9e617225f1d8ba Serge Semin 2023-09-20 @224 };
> 9e617225f1d8ba Serge Semin 2023-09-20 225

Got it. Thank you kind kernel roBot. I'll fix it in v5.

-Serge(y)

>
> --
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki
>