* [chrome-os:chromeos-4.19 1/1] sound/usb/mixer_quirks.c:1711:2: error: 'static' is not at beginning of declaration
@ 2021-05-31 20:41 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-31 20:41 UTC (permalink / raw)
To: kbuild-all
[-- 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 --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-31 20:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-31 20:41 [chrome-os:chromeos-4.19 1/1] sound/usb/mixer_quirks.c:1711:2: error: 'static' is not at beginning of declaration 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.