Re: [PATCH v3 2/2] mmc: sdhci-of-dwcmshc: Add support for Eswin EIC7700
From: kernel test robot
Date: Fri Oct 10 2025 - 21:55:12 EST
Hi,
kernel test robot noticed the following build warnings:
[auto build test WARNING on linus/master]
[also build test WARNING on ulf-hansson-mmc-mirror/next v6.17 next-20251010]
[cannot apply to robh/for-next pza/reset/next pza/imx-drm/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/hehuan1-eswincomputing-com/dt-bindings-mmc-sdhci-of-dwcmshc-Add-Eswin-EIC7700/20251010-174323
base: linus/master
patch link: https://lore.kernel.org/r/20251010094109.1613-1-hehuan1%40eswincomputing.com
patch subject: [PATCH v3 2/2] mmc: sdhci-of-dwcmshc: Add support for Eswin EIC7700
config: x86_64-randconfig-005-20251011 (https://download.01.org/0day-ci/archive/20251011/202510110904.0H6EStUB-lkp@xxxxxxxxx/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251011/202510110904.0H6EStUB-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/202510110904.0H6EStUB-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
drivers/mmc/host/sdhci-of-dwcmshc.c:300:13: error: redefinition of 'dwcmshc_enable_card_clk'
300 | static void dwcmshc_enable_card_clk(struct sdhci_host *host)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/mmc/host/sdhci-of-dwcmshc.c:289:13: note: previous definition of 'dwcmshc_enable_card_clk' with type 'void(struct sdhci_host *)'
289 | static void dwcmshc_enable_card_clk(struct sdhci_host *host)
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/mmc/host/sdhci-of-dwcmshc.c: In function 'sdhci_eic7700_set_clock':
drivers/mmc/host/sdhci-of-dwcmshc.c:1179:9: error: implicit declaration of function 'dwcmshc_disable_card_clk'; did you mean 'dwcmshc_enable_card_clk'? [-Wimplicit-function-declaration]
1179 | dwcmshc_disable_card_clk(host);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| dwcmshc_enable_card_clk
drivers/mmc/host/sdhci-of-dwcmshc.c: At top level:
>> drivers/mmc/host/sdhci-of-dwcmshc.c:289:13: warning: 'dwcmshc_enable_card_clk' defined but not used [-Wunused-function]
289 | static void dwcmshc_enable_card_clk(struct sdhci_host *host)
| ^~~~~~~~~~~~~~~~~~~~~~~
vim +/dwcmshc_enable_card_clk +289 drivers/mmc/host/sdhci-of-dwcmshc.c
288
> 289 static void dwcmshc_enable_card_clk(struct sdhci_host *host)
290 {
291 u16 ctrl;
292
293 ctrl = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
294 if ((ctrl & SDHCI_CLOCK_INT_EN) && !(ctrl & SDHCI_CLOCK_CARD_EN)) {
295 ctrl |= SDHCI_CLOCK_CARD_EN;
296 sdhci_writew(host, ctrl, SDHCI_CLOCK_CONTROL);
297 }
298 }
299
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki