mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH asoc] ASoC: gtm601_dai can be static
  2015-06-22 15:48 [asoc:topic/gtm601 2/3] sound/soc/codecs/gtm601.c:36:27: sparse: symbol 'gtm601_dai' was not declared. Should it be static? kbuild test robot
@ 2015-06-22 15:48 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2015-06-22 15:48 UTC (permalink / raw)
  To: Marek Belisko
  Cc: kbuild-all, Mark Brown, alsa-devel, Liam Girdwood,
	Jaroslav Kysela, Takashi Iwai, linux-kernel


Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 gtm601.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/gtm601.c b/sound/soc/codecs/gtm601.c
index 1b77ff2..305452e 100644
--- a/sound/soc/codecs/gtm601.c
+++ b/sound/soc/codecs/gtm601.c
@@ -33,7 +33,7 @@ static const struct snd_soc_dapm_route gtm601_dapm_routes[] = {
 	{ "Capture", NULL, "AIN" },
 };
 
-struct snd_soc_dai_driver gtm601_dai = {
+static struct snd_soc_dai_driver gtm601_dai = {
 	.name = "gtm601",
 	.playback = {
 		.stream_name = "Playback",
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at  http://www.tux.org/lkml/

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

* [asoc:topic/gtm601 2/3] sound/soc/codecs/gtm601.c:36:27: sparse: symbol 'gtm601_dai' was not declared. Should it be static?
@ 2015-06-22 15:48 kbuild test robot
  2015-06-22 15:48 ` [PATCH asoc] ASoC: gtm601_dai can be static kbuild test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2015-06-22 15:48 UTC (permalink / raw)
  To: Marek Belisko
  Cc: kbuild-all, Mark Brown, alsa-devel, Liam Girdwood,
	Jaroslav Kysela, Takashi Iwai, linux-kernel

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/gtm601
head:   ac6e7c29ac12e1e285b0740bb671039ef436cf91
commit: 600a2b098a87843d44ab2f54fde9eda421946b38 [2/3] ASoC: Add gtm601 codec driver
reproduce:
  # apt-get install sparse
  git checkout 600a2b098a87843d44ab2f54fde9eda421946b38
  make ARCH=x86_64 allmodconfig
  make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

>> sound/soc/codecs/gtm601.c:36:27: sparse: symbol 'gtm601_dai' 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/pipermail/kbuild-all                   Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at  http://www.tux.org/lkml/

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

end of thread, other threads:[~2015-06-22 15:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-22 15:48 [asoc:topic/gtm601 2/3] sound/soc/codecs/gtm601.c:36:27: sparse: symbol 'gtm601_dai' was not declared. Should it be static? kbuild test robot
2015-06-22 15:48 ` [PATCH asoc] ASoC: gtm601_dai can be static kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®