* Re: [PATCH v2 2/4] mmc: loongson2: Add Loongson-2K SD/SDIO controller driver
[not found] <1308b6ca9ffc2674cc0f089cfd163da87e53a8cd.1746581751.git.zhoubinbin@loongson.cn>
@ 2025-05-08 10:13 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-05-08 10:13 UTC (permalink / raw)
To: Binbin Zhou, Binbin Zhou, Huacai Chen, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Ulf Hansson
Cc: llvm, oe-kbuild-all, Xuerui Wang, loongarch, devicetree,
linux-mmc
Hi Binbin,
kernel test robot noticed the following build errors:
[auto build test ERROR on 9e12816f9a6195f1f5b7c5dc2e388c2458411b97]
url: https://github.com/intel-lab-lkp/linux/commits/Binbin-Zhou/dt-bindings-mmc-Add-Loongson-2K-SD-SDIO-eMMC-controller-binding/20250507-153435
base: 9e12816f9a6195f1f5b7c5dc2e388c2458411b97
patch link: https://lore.kernel.org/r/1308b6ca9ffc2674cc0f089cfd163da87e53a8cd.1746581751.git.zhoubinbin%40loongson.cn
patch subject: [PATCH v2 2/4] mmc: loongson2: Add Loongson-2K SD/SDIO controller driver
config: riscv-allyesconfig (https://download.01.org/0day-ci/archive/20250508/202505081845.0NQYX2nS-lkp@intel.com/config)
compiler: clang version 16.0.6 (https://github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250508/202505081845.0NQYX2nS-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505081845.0NQYX2nS-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/mmc/host/loongson2-mmc.c:605:20: error: initializer element is not a compile-time constant
.regmap_config = ls2k1000_regmap_config,
^~~~~~~~~~~~~~~~~~~~~~
drivers/mmc/host/loongson2-mmc.c:637:20: error: initializer element is not a compile-time constant
.regmap_config = ls2k1000_regmap_config,
^~~~~~~~~~~~~~~~~~~~~~
drivers/mmc/host/loongson2-mmc.c:684:39: warning: shift count >= width of type [-Wshift-count-overflow]
ret = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64));
^~~~~~~~~~~~~~~~
include/linux/dma-mapping.h:73:54: note: expanded from macro 'DMA_BIT_MASK'
#define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
^ ~~~
1 warning and 2 errors generated.
vim +605 drivers/mmc/host/loongson2-mmc.c
603
604 static struct loongson2_mmc_pdata ls2k0500_mmc_pdata = {
> 605 .regmap_config = ls2k1000_regmap_config,
606 .reorder_cmd_data = loongson2_mmc_reorder_cmd_data,
607 .setting_dma = ls2k0500_mmc_set_external_dma,
608 .prepare_dma = loongson2_mmc_prepare_external_dma,
609 .release_dma = loongson2_mmc_release_external_dma,
610 };
611
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread