tree:
https://android.googlesource.com/kernel/common android12-5.10-2021-09
head: ece338aaa6b4bdf1c505c64f6b391e5cfabbfee5
commit: 072eded7ca22f1dff8f7e151c46274352a8bbf57 [10775/10848] FROMLIST: mmc: core: Export
core functions required for clk scaling
config: x86_64-randconfig-r033-20210928 (attached as .config)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
dc6e8dfdfe7efecfda318d43a06fae18b40eb498)
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-2021-09
git checkout 072eded7ca22f1dff8f7e151c46274352a8bbf57
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64
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
function 'mmc_set_bus_speed' [-Wmissing-prototypes]
void
mmc_set_bus_speed(struct mmc_card *card)
^
drivers/mmc/core/mmc.c:975:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
void mmc_set_bus_speed(struct mmc_card *card)
^
static
1 warning generated.
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