From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,T_SPF_PERMERROR, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gnuweeb.org (Postfix) with ESMTPS id 10604804D1 for ; Mon, 5 Sep 2022 10:07:12 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=gTlmRFh0; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662372432; x=1693908432; h=date:from:to:cc:subject:message-id:mime-version; bh=HPt3jPuMljFnT1HwUVeRYiZPN24kNujUVy3j7fR1Br8=; b=gTlmRFh0G26IvXbft6ASU0052zRWUcXl6bHghhhy2J7bk97+PXLfFpG1 a18cXnKJ16ImOVq3/YBGXGX5WoogqBRYVio4VODeAXbqT3aZ6u3XhjYpF T3mXEJKK7K8E+9RdIMOTfZE4qH0GP+hy2yHadSksql2ywJpboHGECGa9I ap9MVwXMIwMorQQ+7H9/gpNLSEQAO/XoM/g9cV1w32e38U2y8dYCr9pFz fg90CNtT0hqhcUteID4rpwBEFsRhCm6VcjaJ4EBb7Nb9cJGz5M5mnwq4K UwYAmbuy48BvvegBpNV4+jRkw/w6R4h0+4w9QV7Hay5DmTJ2B2t/HocsQ Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10460"; a="297142802" X-IronPort-AV: E=Sophos;i="5.93,290,1654585200"; d="scan'208";a="297142802" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Sep 2022 03:07:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,290,1654585200"; d="scan'208";a="682010011" Received: from lkp-server02.sh.intel.com (HELO 95dfd251caa2) ([10.239.97.151]) by fmsmga004.fm.intel.com with ESMTP; 05 Sep 2022 03:07:10 -0700 Received: from kbuild by 95dfd251caa2 with local (Exim 4.96) (envelope-from ) id 1oV90X-000425-10; Mon, 05 Sep 2022 10:07:09 +0000 Date: Mon, 5 Sep 2022 18:06:14 +0800 From: kernel test robot To: Takashi Iwai Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Ammar Faizi , GNU/Weeb Mailing List , linux-kernel@vger.kernel.org Subject: [ammarfaizi2-block:tiwai/sound/master 42/45] sound/pci/hda/patch_sigmatel.c:4450:24: warning: unused variable 'spec' Message-ID: <202209051729.qu4hSOAb-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline List-Id: 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/202209051729.qu4hSOAb-lkp@intel.com/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 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