Hi Ram,
FYI, the error/warning still remains.
tree:
https://android.googlesource.com/kernel/common android12-5.10
head: 06d074249fa373865805136b3d34aeb7c20ee5d2
commit: 072eded7ca22f1dff8f7e151c46274352a8bbf57 [12973/13751] FROMLIST: mmc: core: Export
core functions required for clk scaling
config: arm-randconfig-r026-20211014 (attached as .config)
compiler: arm-linux-gnueabi-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
git remote add android-common
https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android12-5.10
git checkout 072eded7ca22f1dff8f7e151c46274352a8bbf57
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm
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/core/mmc.c:975:6: warning: no previous prototype for
'mmc_set_bus_speed' [-Wmissing-prototypes]
975 | void
mmc_set_bus_speed(struct mmc_card *card)
| ^~~~~~~~~~~~~~~~~
vim +/mmc_set_bus_speed +975 drivers/mmc/core/mmc.c
971
972 /*
973 * Set the bus speed for the selected speed mode.
974 */
975 void mmc_set_bus_speed(struct mmc_card *card)
976 {
977 unsigned int max_dtr = (unsigned int)-1;
978
979 if ((mmc_card_hs200(card) || mmc_card_hs400(card)) &&
980 max_dtr > card->ext_csd.hs200_max_dtr)
981 max_dtr = card->ext_csd.hs200_max_dtr;
982 else if (mmc_card_hs(card) && max_dtr > card->ext_csd.hs_max_dtr)
983 max_dtr = card->ext_csd.hs_max_dtr;
984 else if (max_dtr > card->csd.max_dtr)
985 max_dtr = card->csd.max_dtr;
986
987 mmc_set_clock(card->host, max_dtr);
988 }
989
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org