All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH plbossart-sound] soundwire: intel: intel_dai_suspend() can be static
  2019-11-12  3:09 [plbossart-sound:fix/sdw_dai_prepare 12/12] drivers/soundwire/intel.c:1038:5: sparse: sparse: symbol 'intel_dai_suspend' was not declared. Should it be static? kbuild test robot
@ 2019-11-12  3:09 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2019-11-12  3:09 UTC (permalink / raw)
  To: kbuild-all

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


Fixes: caa0fdb5f561 ("soundwire: intel: only reinitialize ALH/SHIM on system resume")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
 intel.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soundwire/intel.c b/drivers/soundwire/intel.c
index 2a33f54d998dd..5720c02edd994 100644
--- a/drivers/soundwire/intel.c
+++ b/drivers/soundwire/intel.c
@@ -1035,7 +1035,7 @@ static void intel_shutdown(struct snd_pcm_substream *substream,
 	dev_err(dai->dev, "%s: %s: done\n", __func__, dai->name);
 }
 
-int intel_dai_suspend(struct snd_soc_dai *dai)
+static int intel_dai_suspend(struct snd_soc_dai *dai)
 {
 	struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai);
 	struct sdw_intel *sdw = cdns_to_intel(cdns);

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

* [plbossart-sound:fix/sdw_dai_prepare 12/12] drivers/soundwire/intel.c:1038:5: sparse: sparse: symbol 'intel_dai_suspend' was not declared. Should it be static?
@ 2019-11-12  3:09 kbuild test robot
  2019-11-12  3:09 ` [RFC PATCH plbossart-sound] soundwire: intel: intel_dai_suspend() can be static kbuild test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2019-11-12  3:09 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/plbossart/sound fix/sdw_dai_prepare
head:   caa0fdb5f561d8996d77b29b8ef57d5506a2368e
commit: caa0fdb5f561d8996d77b29b8ef57d5506a2368e [12/12] soundwire: intel: only reinitialize ALH/SHIM on system resume
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.1-29-g781bc5d-dirty
        git checkout caa0fdb5f561d8996d77b29b8ef57d5506a2368e
        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/soundwire/intel.c:1038:5: sparse: sparse: symbol 'intel_dai_suspend' was not declared. Should it be static?

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

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

end of thread, other threads:[~2019-11-12  3:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-12  3:09 [plbossart-sound:fix/sdw_dai_prepare 12/12] drivers/soundwire/intel.c:1038:5: sparse: sparse: symbol 'intel_dai_suspend' was not declared. Should it be static? kbuild test robot
2019-11-12  3:09 ` [RFC PATCH plbossart-sound] soundwire: intel: intel_dai_suspend() 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.