From: kernel test robot <lkp@intel.com>
To: "Martin Povišer" <povik+lin@cutebit.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Hector Martin <marcan@marcan.st>
Subject: [asahilinux:bits/070-audio 11/15] sound/soc/apple/macaudio.c:290:3: sparse: sparse: symbol 'macaudio_fixed_kctls' was not declared. Should it be static?
Date: Mon, 1 Aug 2022 00:22:05 +0800 [thread overview]
Message-ID: <202208010056.ESwV1wcB-lkp@intel.com> (raw)
tree: https://github.com/AsahiLinux/linux bits/070-audio
head: f284fb1969531d5bcbc85cdaba483d954aafbb1f
commit: 45d56de6798e69a32c1e7b529e7849fc74ed3e66 [11/15] ASoC: Add macaudio machine driver
config: arm64-randconfig-s043-20220721 (https://download.01.org/0day-ci/archive/20220801/202208010056.ESwV1wcB-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 12.1.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-39-gce1a6720-dirty
# https://github.com/AsahiLinux/linux/commit/45d56de6798e69a32c1e7b529e7849fc74ed3e66
git remote add asahilinux https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux bits/070-audio
git checkout 45d56de6798e69a32c1e7b529e7849fc74ed3e66
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm64 SHELL=/bin/bash sound/soc/apple/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> sound/soc/apple/macaudio.c:290:3: sparse: sparse: symbol 'macaudio_fixed_kctls' was not declared. Should it be static?
vim +/macaudio_fixed_kctls +290 sound/soc/apple/macaudio.c
286
287 struct fixed_kctl {
288 char *name;
289 char *value;
> 290 } macaudio_fixed_kctls[] = {
291 {"ASI1 Sel", "Left"},
292 {"Left ASI1 Sel", "Left"},
293 {"Right ASI1 Sel", "Left"},
294 {"Left Front ASI1 Sel", "Left"},
295 {"Left Rear ASI1 Sel", "Left"},
296 {"Right Front ASI1 Sel", "Left"},
297 {"Right Rear ASI1 Sel", "Left"},
298 {"Left Tweeter ASI1 Sel", "Left"},
299 {"Left Woofer 1 ASI1 Sel", "Left"},
300 {"Left Woofer 2 ASI1 Sel", "Left"},
301 {"Right Tweeter ASI1 Sel", "Left"},
302 {"Right Woofer 1 ASI1 Sel", "Left"},
303 {"Right Woofer 2 ASI1 Sel", "Left"},
304 {"Left ISENSE Switch", "Off"},
305 {"Left VSENSE Switch", "Off"},
306 {"Right ISENSE Switch", "Off"},
307 {"Right VSENSE Switch", "Off"},
308 {"Jack Mixer Volume", "63"},
309 { }
310 };
311
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-07-31 16:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202208010056.ESwV1wcB-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcan@marcan.st \
--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 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®