All of lore.kernel.org
 help / color / mirror / Atom feed
* [chrome-os:chromeos-5.4 61/80] sound/pci/echoaudio/echoaudio.c:1254:20: warning: variable 'chip' set but not used
@ 2020-10-01  3:00 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-10-01  3:00 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4
head:   f6a6fa15cb8e9fa076e7b56de48e387589900440
commit: fc3edf00e0a1fd5a5977699c2f92f54c828cf603 [61/80] UPSTREAM: ALSA: pci: echoaudio: remove usage of dimen menber of elem_value structure
config: alpha-randconfig-r006-20200930 (attached as .config)
compiler: alpha-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-5.4
        git checkout fc3edf00e0a1fd5a5977699c2f92f54c828cf603
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=alpha 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   In file included from sound/pci/echoaudio/darla20.c:89:
   sound/pci/echoaudio/echoaudio.c: In function 'snd_echo_mixer_info':
>> sound/pci/echoaudio/echoaudio.c:1254:20: warning: variable 'chip' set but not used [-Wunused-but-set-variable]
    1254 |  struct echoaudio *chip;
         |                    ^~~~
   sound/pci/echoaudio/echoaudio.c: In function 'snd_echo_probe':
   sound/pci/echoaudio/echoaudio.c:1984:6: warning: variable 'i' set but not used [-Wunused-but-set-variable]
    1984 |  int i, err;
         |      ^
--
   In file included from sound/pci/echoaudio/gina20.c:93:
   sound/pci/echoaudio/echoaudio.c: In function 'snd_echo_mixer_info':
>> sound/pci/echoaudio/echoaudio.c:1254:20: warning: variable 'chip' set but not used [-Wunused-but-set-variable]
    1254 |  struct echoaudio *chip;
         |                    ^~~~
--
   In file included from sound/pci/echoaudio/mia.c:108:
   sound/pci/echoaudio/echoaudio.c: In function 'snd_echo_mixer_info':
>> sound/pci/echoaudio/echoaudio.c:1254:20: warning: variable 'chip' set but not used [-Wunused-but-set-variable]
    1254 |  struct echoaudio *chip;
         |                    ^~~~
   sound/pci/echoaudio/echoaudio.c: In function 'snd_echo_vmixer_info':
   sound/pci/echoaudio/echoaudio.c:1324:20: warning: variable 'chip' set but not used [-Wunused-but-set-variable]
    1324 |  struct echoaudio *chip;
         |                    ^~~~
--
   In file included from sound/pci/echoaudio/indigoio.c:95:
   sound/pci/echoaudio/echoaudio.c: In function 'snd_echo_mixer_info':
>> sound/pci/echoaudio/echoaudio.c:1254:20: warning: variable 'chip' set but not used [-Wunused-but-set-variable]
    1254 |  struct echoaudio *chip;
         |                    ^~~~
   sound/pci/echoaudio/echoaudio.c: In function 'snd_echo_vmixer_info':
   sound/pci/echoaudio/echoaudio.c:1324:20: warning: variable 'chip' set but not used [-Wunused-but-set-variable]
    1324 |  struct echoaudio *chip;
         |                    ^~~~
   sound/pci/echoaudio/echoaudio.c: In function 'snd_echo_probe':
   sound/pci/echoaudio/echoaudio.c:1984:6: warning: variable 'i' set but not used [-Wunused-but-set-variable]
    1984 |  int i, err;
         |      ^

vim +/chip +1254 sound/pci/echoaudio/echoaudio.c

dd7b254d8dd3a95 Giuliano Pochini 2006-06-28  1249  
dd7b254d8dd3a95 Giuliano Pochini 2006-06-28  1250  /******************* Monitor mixer *******************/
dd7b254d8dd3a95 Giuliano Pochini 2006-06-28  1251  static int snd_echo_mixer_info(struct snd_kcontrol *kcontrol,
dd7b254d8dd3a95 Giuliano Pochini 2006-06-28  1252  			       struct snd_ctl_elem_info *uinfo)
dd7b254d8dd3a95 Giuliano Pochini 2006-06-28  1253  {
dd7b254d8dd3a95 Giuliano Pochini 2006-06-28 @1254  	struct echoaudio *chip;
dd7b254d8dd3a95 Giuliano Pochini 2006-06-28  1255  
dd7b254d8dd3a95 Giuliano Pochini 2006-06-28  1256  	chip = snd_kcontrol_chip(kcontrol);
dd7b254d8dd3a95 Giuliano Pochini 2006-06-28  1257  	uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;
51db452df07bb4c Takashi Sakamoto 2017-09-26  1258  	uinfo->count = 1;
dd7b254d8dd3a95 Giuliano Pochini 2006-06-28  1259  	uinfo->value.integer.min = ECHOGAIN_MINOUT;
dd7b254d8dd3a95 Giuliano Pochini 2006-06-28  1260  	uinfo->value.integer.max = ECHOGAIN_MAXOUT;
dd7b254d8dd3a95 Giuliano Pochini 2006-06-28  1261  	return 0;
dd7b254d8dd3a95 Giuliano Pochini 2006-06-28  1262  }
dd7b254d8dd3a95 Giuliano Pochini 2006-06-28  1263  

:::::: The code at line 1254 was first introduced by commit
:::::: dd7b254d8dd3a9528f423ac3bf875e6f0c8da561 [ALSA] Add echoaudio sound drivers

:::::: TO: Giuliano Pochini <pochini@shiny.it>
:::::: CC: Jaroslav Kysela <perex@suse.cz>

---
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: 31516 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-01  3:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-01  3:00 [chrome-os:chromeos-5.4 61/80] sound/pci/echoaudio/echoaudio.c:1254:20: warning: variable 'chip' set but not used 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.