tree:
https://github.com/shenki/linux microwatt-v5.16
head: 8e96c87e7fba5fb249efd40842c26c2bb426d49c
commit: 332995960c8d441be0974f27a128b2856139074a [3/9] LiteX: driver for LiteSDCard
(litex_mmc)
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc-linux-gcc (GCC) 11.2.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
#
https://github.com/shenki/linux/commit/332995960c8d441be0974f27a128b28561...
git remote add shenki
https://github.com/shenki/linux
git fetch --no-tags shenki microwatt-v5.16
git checkout 332995960c8d441be0974f27a128b2856139074a
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> drivers/mmc/host/litex_mmc.c:96:6: warning: no previous prototype
for 'sdclk_set_clk' [-Wmissing-prototypes]
96 | void
sdclk_set_clk(struct litex_mmc_host *host, unsigned int clk_freq) {
| ^~~~~~~~~~~~~
vim +/sdclk_set_clk +96 drivers/mmc/host/litex_mmc.c
94
95
96 void sdclk_set_clk(struct litex_mmc_host *host, unsigned int
clk_freq) {
97 u32 div = clk_freq ? host->freq / clk_freq : 256;
98 div = roundup_pow_of_two(div);
99 div = min(max(div, (u32)2), (u32)256);
100 dev_info(&host->dev->dev,
101 "Requested clk_freq=%d: set to %d via div=%d\n",
102 clk_freq, host->freq / div, div);
103 litex_write16(host->sdphy + LITEX_MMC_SDPHY_CLOCKERDIV_OFF, div);
104 }
105
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org