[linux-next:master 10687/11990] drivers/mmc/host/mtk-sd.c:2269:6: sparse: sparse: symbol 'msdc_cqe_disable' was not declared. Should it be

From: kernel test robot
Date: Mon Jul 27 2020 - 19:25:29 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: e9a523ff8f76de0768857f02ea76437d3b39d151
commit: 88bd652b3c74997bb436adf6131acf445066243e [10687/11990] mmc: mediatek: command queue support
config: x86_64-randconfig-s022-20200727 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.2-94-geb6779f6-dirty
git checkout 88bd652b3c74997bb436adf6131acf445066243e
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>


sparse warnings: (new ones prefixed by >>)

>> drivers/mmc/host/mtk-sd.c:2269:6: sparse: sparse: symbol 'msdc_cqe_disable' was not declared. Should it be static?

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip