All of lore.kernel.org
 help / color / mirror / Atom feed
* [chrome-os:chromeos-5.10 2/35] sound/soc/codecs/rt5682s.c:2842:30: sparse: sparse: symbol 'rt5682s_aif2_dai_ops' was not declared. Should it be static?
@ 2021-11-01 15:17 kernel test robot
  2021-11-01 15:17 ` [RFC PATCH chrome-os] CHROMIUM: ASoC: amd: rt5682s_aif2_dai_ops can be static kernel test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2021-11-01 15:17 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.10
head:   b30672701a8fdfb1a5391f189f0f3b6b77bb41d9
commit: 32bfdbb10a036394edca4ffe07a08c4d3d0d79ef [2/35] CHROMIUM: ASoC: amd: Add support for new codecs in machine driver
config: x86_64-randconfig-s022-20211101 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.4-dirty
        git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
        git fetch --no-tags chrome-os chromeos-5.10
        git checkout 32bfdbb10a036394edca4ffe07a08c4d3d0d79ef
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash sound/soc/codecs/

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 >>)
   sound/soc/codecs/rt5682s.c:44:12: sparse: sparse: symbol 'rt5682s_supply_names' was not declared. Should it be static?
   sound/soc/codecs/rt5682s.c:74:26: sparse: sparse: symbol 'rt5682s_reg' was not declared. Should it be static?
   sound/soc/codecs/rt5682s.c:2835:30: sparse: sparse: symbol 'rt5682s_aif1_dai_ops' was not declared. Should it be static?
>> sound/soc/codecs/rt5682s.c:2842:30: sparse: sparse: symbol 'rt5682s_aif2_dai_ops' was not declared. Should it be static?
>> sound/soc/codecs/rt5682s.c:2848:39: sparse: sparse: symbol 'rt5682s_soc_component_dev' 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

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

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

* [RFC PATCH chrome-os] CHROMIUM: ASoC: amd: rt5682s_aif2_dai_ops can be static
  2021-11-01 15:17 [chrome-os:chromeos-5.10 2/35] sound/soc/codecs/rt5682s.c:2842:30: sparse: sparse: symbol 'rt5682s_aif2_dai_ops' was not declared. Should it be static? kernel test robot
@ 2021-11-01 15:17 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-01 15:17 UTC (permalink / raw)
  To: kbuild-all

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

sound/soc/codecs/rt5682s.c:2842:30: warning: symbol 'rt5682s_aif2_dai_ops' was not declared. Should it be static?
sound/soc/codecs/rt5682s.c:2848:39: warning: symbol 'rt5682s_soc_component_dev' was not declared. Should it be static?

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
 rt5682s.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/rt5682s.c b/sound/soc/codecs/rt5682s.c
index d878a20527f17..d3e965b2e7072 100644
--- a/sound/soc/codecs/rt5682s.c
+++ b/sound/soc/codecs/rt5682s.c
@@ -2839,13 +2839,13 @@ const struct snd_soc_dai_ops rt5682s_aif1_dai_ops = {
 	.set_bclk_ratio = rt5682s_set_bclk1_ratio,
 };
 
-const struct snd_soc_dai_ops rt5682s_aif2_dai_ops = {
+static const struct snd_soc_dai_ops rt5682s_aif2_dai_ops = {
 	.hw_params = rt5682s_hw_params,
 	.set_fmt = rt5682s_set_dai_fmt,
 	.set_bclk_ratio = rt5682s_set_bclk2_ratio,
 };
 
-const struct snd_soc_component_driver rt5682s_soc_component_dev = {
+static const struct snd_soc_component_driver rt5682s_soc_component_dev = {
 	.probe = rt5682s_probe,
 	.remove = rt5682s_remove,
 	.suspend = rt5682s_suspend,

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

end of thread, other threads:[~2021-11-01 15:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-01 15:17 [chrome-os:chromeos-5.10 2/35] sound/soc/codecs/rt5682s.c:2842:30: sparse: sparse: symbol 'rt5682s_aif2_dai_ops' was not declared. Should it be static? kernel test robot
2021-11-01 15:17 ` [RFC PATCH chrome-os] CHROMIUM: ASoC: amd: rt5682s_aif2_dai_ops can be static kernel 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.