* [android-common:android12-5.10 1/2] drivers/mmc/core/mmc.c:975:6: warning: no previous prototype for 'mmc_set_bus_speed'
@ 2021-08-26 6:00 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-26 6:00 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1879 bytes --]
tree: https://android.googlesource.com/kernel/common android12-5.10
head: f90feddc7e0eb0c724dd392e97e46ccce8b5f6fd
commit: 072eded7ca22f1dff8f7e151c46274352a8bbf57 [1/2] FROMLIST: mmc: core: Export core functions required for clk scaling
config: x86_64-randconfig-c022-20210825 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
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
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@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(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 37662 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-08-26 6:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-26 6:00 [android-common:android12-5.10 1/2] drivers/mmc/core/mmc.c:975:6: warning: no previous prototype for 'mmc_set_bus_speed' kernel 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.