From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [chrome-os:chromeos-4.19 1/1] sound/usb/mixer_quirks.c:1711:2: error: 'static' is not at beginning of declaration
Date: Tue, 01 Jun 2021 04:41:46 +0800 [thread overview]
Message-ID: <202106010440.rNwC6jw1-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3443 bytes --]
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.19
head: b441a6e95f69f0222a98918112807f46467bcd3c
commit: b441a6e95f69f0222a98918112807f46467bcd3c [1/1] CHROMIUM: Merge 'v4.19.191' into chromeos-4.19
config: arm64-chromiumos-qualcomm-customedconfig-chrome-os:chromeos-4.19:9cf366c0bdf712f019dc412178afbeb543187754 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-4.19
git checkout b441a6e95f69f0222a98918112807f46467bcd3c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
sound/usb/mixer_quirks.c: In function 'snd_microii_controls_create':
>> sound/usb/mixer_quirks.c:1711:2: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration]
1711 | const static usb_mixer_elem_resume_func_t resume_funcs[] = {
| ^~~~~
cc1: all warnings being treated as errors
vim +/static +1711 sound/usb/mixer_quirks.c
066624c6a1733a7 Przemek Rudy 2013-06-27 1707
066624c6a1733a7 Przemek Rudy 2013-06-27 1708 static int snd_microii_controls_create(struct usb_mixer_interface *mixer)
066624c6a1733a7 Przemek Rudy 2013-06-27 1709 {
066624c6a1733a7 Przemek Rudy 2013-06-27 1710 int err, i;
aee5453a3e4c6eb Takashi Iwai 2020-01-05 @1711 const static usb_mixer_elem_resume_func_t resume_funcs[] = {
288673beae6cbd8 Takashi Iwai 2014-11-18 1712 snd_microii_spdif_default_update,
288673beae6cbd8 Takashi Iwai 2014-11-18 1713 NULL,
288673beae6cbd8 Takashi Iwai 2014-11-18 1714 snd_microii_spdif_switch_update
288673beae6cbd8 Takashi Iwai 2014-11-18 1715 };
066624c6a1733a7 Przemek Rudy 2013-06-27 1716
066624c6a1733a7 Przemek Rudy 2013-06-27 1717 for (i = 0; i < ARRAY_SIZE(snd_microii_mixer_spdif); ++i) {
288673beae6cbd8 Takashi Iwai 2014-11-18 1718 err = add_single_ctl_with_resume(mixer, 0,
288673beae6cbd8 Takashi Iwai 2014-11-18 1719 resume_funcs[i],
288673beae6cbd8 Takashi Iwai 2014-11-18 1720 &snd_microii_mixer_spdif[i],
288673beae6cbd8 Takashi Iwai 2014-11-18 1721 NULL);
066624c6a1733a7 Przemek Rudy 2013-06-27 1722 if (err < 0)
066624c6a1733a7 Przemek Rudy 2013-06-27 1723 return err;
066624c6a1733a7 Przemek Rudy 2013-06-27 1724 }
066624c6a1733a7 Przemek Rudy 2013-06-27 1725
18e4753ff3c8f5a Mikulas Patocka 2013-12-05 1726 return 0;
066624c6a1733a7 Przemek Rudy 2013-06-27 1727 }
066624c6a1733a7 Przemek Rudy 2013-06-27 1728
:::::: The code@line 1711 was first introduced by commit
:::::: aee5453a3e4c6eb2c07f394127e38a0eb47d990b ALSA: usb-audio: More constifications
:::::: TO: Takashi Iwai <tiwai@suse.de>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
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: 33410 bytes --]
reply other threads:[~2021-05-31 20:41 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=202106010440.rNwC6jw1-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.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.