* [tiwai-sound:for-next 8/9] sound/pci/hda/hda_intel.c:1035:26: warning: variable 'bus' set but not used
@ 2024-11-04 18:23 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-11-04 18:23 UTC (permalink / raw)
To: Heiner Kallweit; +Cc: oe-kbuild-all, alsa-devel, Takashi Iwai
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next
head: 149cb7d9537e241b43056fb4133f56832ac51b7a
commit: cac99f73f0752e1c83674e12fb2c605dca9ce474 [8/9] ALSA: hda: intel: Don't free interrupt when suspending
config: x86_64-defconfig (https://download.01.org/0day-ci/archive/20241105/202411050247.3esQz7Am-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241105/202411050247.3esQz7Am-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411050247.3esQz7Am-lkp@intel.com/
All warnings (new ones prefixed by >>):
sound/pci/hda/hda_intel.c: In function 'azx_suspend':
>> sound/pci/hda/hda_intel.c:1035:26: warning: variable 'bus' set but not used [-Wunused-but-set-variable]
1035 | struct hdac_bus *bus;
| ^~~
vim +/bus +1035 sound/pci/hda/hda_intel.c
f5dac54d9d9382 Kai-Heng Feng 2020-10-27 1030
3baffc4a84d759 Takashi Iwai 2018-12-07 1031 static int azx_suspend(struct device *dev)
3baffc4a84d759 Takashi Iwai 2018-12-07 1032 {
3baffc4a84d759 Takashi Iwai 2018-12-07 1033 struct snd_card *card = dev_get_drvdata(dev);
3baffc4a84d759 Takashi Iwai 2018-12-07 1034 struct azx *chip;
3baffc4a84d759 Takashi Iwai 2018-12-07 @1035 struct hdac_bus *bus;
3baffc4a84d759 Takashi Iwai 2018-12-07 1036
3baffc4a84d759 Takashi Iwai 2018-12-07 1037 if (!azx_is_pm_ready(card))
c5c215232dfb71 Takashi Iwai 2012-12-04 1038 return 0;
c5c215232dfb71 Takashi Iwai 2012-12-04 1039
3baffc4a84d759 Takashi Iwai 2018-12-07 1040 chip = card->private_data;
a41d122449bea3 Takashi Iwai 2015-04-14 1041 bus = azx_bus(chip);
472e18f63c425d Imre Deak 2021-06-23 1042 azx_shutdown_chip(chip);
785d8c4be82b45 Libin Yang 2015-05-12 1043
785d8c4be82b45 Libin Yang 2015-05-12 1044 trace_azx_suspend(chip);
^1da177e4c3f41 Linus Torvalds 2005-04-16 1045 return 0;
^1da177e4c3f41 Linus Torvalds 2005-04-16 1046 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 1047
:::::: The code at line 1035 was first introduced by commit
:::::: 3baffc4a84d759ba54c461e8e4583bd8890c749a ALSA: hda/intel: Refactoring PM code
:::::: TO: Takashi Iwai <tiwai@suse.de>
:::::: CC: Takashi Iwai <tiwai@suse.de>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-11-04 18:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-04 18:23 [tiwai-sound:for-next 8/9] sound/pci/hda/hda_intel.c:1035:26: warning: variable 'bus' set but not used 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