All of lore.kernel.org
 help / color / mirror / Atom feed
* [sashal-linux-stable:queue-4.19 3/35] drivers/mmc/host/sdhci-omap.c:704:6: sparse: sparse: symbol 'sdhci_omap_reset' was not declared. Should it be static?
@ 2020-03-20  5:24 kbuild test robot
  2020-03-20  5:25 ` [RFC PATCH sashal-linux-stable] mmc: sdhci-omap: sdhci_omap_reset() can be static kbuild test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2020-03-20  5:24 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-4.19
head:   49ada0390dee8e4db4da2ebcbc0b63e2d177c169
commit: c6b2920145fcc8e399be2d9577ef262cbab8b52a [3/35] mmc: sdhci-omap: Add platform specific reset callback
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.1-181-g83789bbc-dirty
        git checkout c6b2920145fcc8e399be2d9577ef262cbab8b52a
        make ARCH=x86_64 allmodconfig
        make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

>> drivers/mmc/host/sdhci-omap.c:704:6: sparse: sparse: symbol 'sdhci_omap_reset' 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(a)lists.01.org

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

* [RFC PATCH sashal-linux-stable] mmc: sdhci-omap: sdhci_omap_reset() can be static
  2020-03-20  5:24 [sashal-linux-stable:queue-4.19 3/35] drivers/mmc/host/sdhci-omap.c:704:6: sparse: sparse: symbol 'sdhci_omap_reset' was not declared. Should it be static? kbuild test robot
@ 2020-03-20  5:25 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2020-03-20  5:25 UTC (permalink / raw)
  To: kbuild-all

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


Fixes: c6b2920145fc ("mmc: sdhci-omap: Add platform specific reset callback")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
 sdhci-omap.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/host/sdhci-omap.c b/drivers/mmc/host/sdhci-omap.c
index 8a172575bb64f..3a21622ab1912 100644
--- a/drivers/mmc/host/sdhci-omap.c
+++ b/drivers/mmc/host/sdhci-omap.c
@@ -701,7 +701,7 @@ static void sdhci_omap_set_uhs_signaling(struct sdhci_host *host,
 	sdhci_omap_start_clock(omap_host);
 }
 
-void sdhci_omap_reset(struct sdhci_host *host, u8 mask)
+static void sdhci_omap_reset(struct sdhci_host *host, u8 mask)
 {
 	struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
 	struct sdhci_omap_host *omap_host = sdhci_pltfm_priv(pltfm_host);

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

end of thread, other threads:[~2020-03-20  5:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-20  5:24 [sashal-linux-stable:queue-4.19 3/35] drivers/mmc/host/sdhci-omap.c:704:6: sparse: sparse: symbol 'sdhci_omap_reset' was not declared. Should it be static? kbuild test robot
2020-03-20  5:25 ` [RFC PATCH sashal-linux-stable] mmc: sdhci-omap: sdhci_omap_reset() can be static kbuild 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.