Re: [PATCH V1] mmc: sdhci-msm: Add eMMC and SD card err_stat sysfs entry

From: kernel test robot
Date: Wed Nov 17 2021 - 08:40:07 EST

Hi Shaik,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on v5.16-rc1 next-20211117]
[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]

base: 8ab774587903771821b59471cc723bba6d893942
config: nios2-randconfig-r025-20211117 (attached as .config)
compiler: nios2-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add linux-review
git fetch --no-tags linux-review Shaik-Sajida-Bhanu/mmc-sdhci-msm-Add-eMMC-and-SD-card-err_stat-sysfs-entry/20211117-142139
git checkout a840d7ed5c9df9bad36a213ed67a131251770770
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=nios2

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> drivers/mmc/host/sdhci-msm.c:2128:6: warning: no previous prototype for 'sdhci_msm_cqe_err_stats' [-Wmissing-prototypes]
2128 | void sdhci_msm_cqe_err_stats(struct mmc_host *mmc, unsigned long flags)
| ^~~~~~~~~~~~~~~~~~~~~~~
>> drivers/mmc/host/sdhci-msm.c:2439:6: warning: no previous prototype for 'sdhci_msm_err_stats' [-Wmissing-prototypes]
2439 | void sdhci_msm_err_stats(struct sdhci_host *host, u32 intmask)
| ^~~~~~~~~~~~~~~~~~~

vim +/sdhci_msm_cqe_err_stats +2128 drivers/mmc/host/sdhci-msm.c

> 2128 void sdhci_msm_cqe_err_stats(struct mmc_host *mmc, unsigned long flags)
2129 {
2130 struct sdhci_host *host = mmc_priv(mmc);
2131 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
2132 struct sdhci_msm_host *msm_host = sdhci_pltfm_priv(pltfm_host);
2134 if (flags & BIT(0))
2135 msm_host->err_stats[MMC_ERR_CMDQ_REQ_TIMEOUT]++;
2136 }

0-DAY CI Kernel Test Service, Intel Corporation

Attachment: .config.gz
Description: application/gzip