* [linux-next:master 11620/12912] drivers/mmc/host/sdhci-msm.c:1881:6: warning: no previous prototype for 'sdhci_msm_dump_vendor_regs'
@ 2020-05-26 14:22 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-26 14:22 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2853 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: b0523c7b1c9d0edcd6c0fe6d2cb558a9ad5c60a8
commit: 98b71a3e1fbb0528387be5642c3650c5c9b875e4 [11620/12912] mmc: sdhci-msm: dump vendor specific registers during error
config: arm-multi_v7_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 98b71a3e1fbb0528387be5642c3650c5c9b875e4
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> drivers/mmc/host/sdhci-msm.c:1881:6: warning: no previous prototype for 'sdhci_msm_dump_vendor_regs' [-Wmissing-prototypes]
1881 | void sdhci_msm_dump_vendor_regs(struct sdhci_host *host)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/sdhci_msm_dump_vendor_regs +1881 drivers/mmc/host/sdhci-msm.c
1876
1877 #define DRIVER_NAME "sdhci_msm"
1878 #define SDHCI_MSM_DUMP(f, x...) \
1879 pr_err("%s: " DRIVER_NAME ": " f, mmc_hostname(host->mmc), ## x)
1880
> 1881 void sdhci_msm_dump_vendor_regs(struct sdhci_host *host)
1882 {
1883 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
1884 struct sdhci_msm_host *msm_host = sdhci_pltfm_priv(pltfm_host);
1885 const struct sdhci_msm_offset *msm_offset = msm_host->offset;
1886
1887 SDHCI_MSM_DUMP("----------- VENDOR REGISTER DUMP -----------\n");
1888
1889 SDHCI_MSM_DUMP(
1890 "DLL sts: 0x%08x | DLL cfg: 0x%08x | DLL cfg2: 0x%08x\n",
1891 readl_relaxed(host->ioaddr + msm_offset->core_dll_status),
1892 readl_relaxed(host->ioaddr + msm_offset->core_dll_config),
1893 readl_relaxed(host->ioaddr + msm_offset->core_dll_config_2));
1894 SDHCI_MSM_DUMP(
1895 "DLL cfg3: 0x%08x | DLL usr ctl: 0x%08x | DDR cfg: 0x%08x\n",
1896 readl_relaxed(host->ioaddr + msm_offset->core_dll_config_3),
1897 readl_relaxed(host->ioaddr + msm_offset->core_dll_usr_ctl),
1898 readl_relaxed(host->ioaddr + msm_offset->core_ddr_config));
1899 SDHCI_MSM_DUMP(
1900 "Vndr func: 0x%08x | Vndr func2 : 0x%08x Vndr func3: 0x%08x\n",
1901 readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec),
1902 readl_relaxed(host->ioaddr +
1903 msm_offset->core_vendor_spec_func2),
1904 readl_relaxed(host->ioaddr + msm_offset->core_vendor_spec3));
1905 }
1906
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 51806 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-05-26 14:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-26 14:22 [linux-next:master 11620/12912] drivers/mmc/host/sdhci-msm.c:1881:6: warning: no previous prototype for 'sdhci_msm_dump_vendor_regs' kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.