Linux-mmc Archive on lore.kernel.org
 help / color / Atom feed
* [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
@ 2020-07-27 23:24 kernel test robot
  2020-07-27 23:24 ` [RFC PATCH linux-next] mmc: mediatek: msdc_cqe_disable() can be static kernel test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2020-07-27 23:24 UTC (permalink / raw)
  To: Chun-Hung Wu
  Cc: kbuild-all, Ulf Hansson, Chaotian Jing, Matthias Brugger,
	linux-mmc, linux-arm-kernel, linux-mediatek, linux-kernel


[-- Attachment #1: Type: text/plain, Size: 1067 bytes --]

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@intel.com>


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@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34997 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [RFC PATCH linux-next] mmc: mediatek: msdc_cqe_disable() can be static
  2020-07-27 23:24 [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 kernel test robot
@ 2020-07-27 23:24 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-07-27 23:24 UTC (permalink / raw)
  To: Chun-Hung Wu
  Cc: kbuild-all, Ulf Hansson, Chaotian Jing, Matthias Brugger,
	linux-mmc, linux-arm-kernel, linux-mediatek, linux-kernel


Fixes: 88bd652b3c74 ("mmc: mediatek: command queue support")
Signed-off-by: kernel test robot <lkp@intel.com>
---
 mtk-sd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c
index 734e403a142e4..4e2583f69a631 100644
--- a/drivers/mmc/host/mtk-sd.c
+++ b/drivers/mmc/host/mtk-sd.c
@@ -2266,7 +2266,7 @@ static void msdc_cqe_enable(struct mmc_host *mmc)
 	msdc_set_timeout(host, 1000000000ULL, 0);
 }
 
-void msdc_cqe_disable(struct mmc_host *mmc, bool recovery)
+static void msdc_cqe_disable(struct mmc_host *mmc, bool recovery)
 {
 	struct msdc_host *host = mmc_priv(mmc);
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-27 23:24 [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 kernel test robot
2020-07-27 23:24 ` [RFC PATCH linux-next] mmc: mediatek: msdc_cqe_disable() can be static kernel test robot

Linux-mmc Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-mmc/0 linux-mmc/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-mmc linux-mmc/ https://lore.kernel.org/linux-mmc \
		linux-mmc@vger.kernel.org
	public-inbox-index linux-mmc

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-mmc


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git