From: kernel test robot <lkp@intel.com>
To: Martin =?unknown-8bit?Q?Povi=C5=A1er?= <povik+lin@cutebit.org>
Cc: oe-kbuild-all@lists.linux.dev, Janne Grunau <j@jannau.net>
Subject: [asahilinux:bits/070-audio 16/119] sound/soc/apple/macaudio.c:778:1: sparse: sparse: symbol 'macaudio_spk_mux_enum' was not declared. Should it be static?
Date: Sat, 30 Nov 2024 12:34:02 +0800 [thread overview]
Message-ID: <202411301227.CoRet7u6-lkp@intel.com> (raw)
tree: https://github.com/AsahiLinux/linux bits/070-audio
head: 070347d4a0876921be5b0bbc11fff848c2ed3e59
commit: 19a2b533a8813a6a3f8368f4198977afc2049339 [16/119] ASoC: apple: Add macaudio machine driver
config: sparc64-randconfig-r122-20241118 (https://download.01.org/0day-ci/archive/20241130/202411301227.CoRet7u6-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 14.2.0
reproduce: (https://download.01.org/0day-ci/archive/20241130/202411301227.CoRet7u6-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411301227.CoRet7u6-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> sound/soc/apple/macaudio.c:778:1: sparse: sparse: symbol 'macaudio_spk_mux_enum' was not declared. Should it be static?
>> sound/soc/apple/macaudio.c:788:1: sparse: sparse: symbol 'macaudio_hp_mux_enum' was not declared. Should it be static?
sound/soc/apple/macaudio.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/umh.h, include/linux/kmod.h, ...):
include/linux/page-flags.h:235:46: sparse: sparse: self-comparison always evaluates to false
include/linux/page-flags.h:235:46: sparse: sparse: self-comparison always evaluates to false
vim +/macaudio_spk_mux_enum +778 sound/soc/apple/macaudio.c
777
> 778 SOC_ENUM_SINGLE_VIRT_DECL(macaudio_spk_mux_enum, macaudio_spk_mux_texts);
779
780 static const struct snd_kcontrol_new macaudio_spk_mux =
781 SOC_DAPM_ENUM("Speaker Playback Mux", macaudio_spk_mux_enum);
782
783 static const char * const macaudio_hp_mux_texts[] = {
784 "Primary",
785 "Secondary"
786 };
787
> 788 SOC_ENUM_SINGLE_VIRT_DECL(macaudio_hp_mux_enum, macaudio_hp_mux_texts);
789
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2024-11-30 4:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-30 4:34 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-18 7:24 [asahilinux:bits/070-audio 16/119] sound/soc/apple/macaudio.c:778:1: sparse: sparse: symbol 'macaudio_spk_mux_enum' was not declared. Should it be static? kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202411301227.CoRet7u6-lkp@intel.com \
--to=lkp@intel.com \
--cc=j@jannau.net \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=povik+lin@cutebit.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.