public inbox for [email protected]
 help / color / mirror / Atom feed
* [ammarfaizi2-block:tiwai/sound/master 42/45] sound/pci/hda/patch_sigmatel.c:4450:24: warning: unused variable 'spec'
@ 2022-09-05 10:06 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-09-05 10:06 UTC (permalink / raw)
  To: Takashi Iwai
  Cc: llvm, kbuild-all, Ammar Faizi, GNU/Weeb Mailing List,
	linux-kernel

tree:   https://github.com/ammarfaizi2/linux-block tiwai/sound/master
head:   a6c91e26b44722382fb45d782d25d9ed77bbb184
commit: 414d38ba871092aeac4ed097ac4ced89486646f7 [42/45] ALSA: hda/sigmatel: Keep power up while beep is enabled
config: x86_64-randconfig-a014-20220905 (https://download.01.org/0day-ci/archive/20220905/[email protected]/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
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
        # https://github.com/ammarfaizi2/linux-block/commit/414d38ba871092aeac4ed097ac4ced89486646f7
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block tiwai/sound/master
        git checkout 414d38ba871092aeac4ed097ac4ced89486646f7
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash sound/pci/hda/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <[email protected]>

All warnings (new ones prefixed by >>):

>> sound/pci/hda/patch_sigmatel.c:4450:24: warning: unused variable 'spec' [-Wunused-variable]
           struct sigmatel_spec *spec = codec->spec;
                                 ^
   1 warning generated.


vim +/spec +4450 sound/pci/hda/patch_sigmatel.c

  4447	
  4448	static int stac_check_power_status(struct hda_codec *codec, hda_nid_t nid)
  4449	{
> 4450		struct sigmatel_spec *spec = codec->spec;
  4451		int ret = snd_hda_gen_check_power_status(codec, nid);
  4452	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

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

only message in thread, other threads:[~2022-09-05 10:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-05 10:06 [ammarfaizi2-block:tiwai/sound/master 42/45] sound/pci/hda/patch_sigmatel.c:4450:24: warning: unused variable 'spec' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox