Hi Takashi,
FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git topic/pm-ops head: 2fe6ffd7c79f740b73533d44de3ae0e542674857 commit: 8c975a919c0e6139ddf3692fa44992364587070c [11/29] ALSA: aaci: Replace with DEFINE_SIMPLE_DEV_PM_OPS() config: arm-randconfig-004-20240127 (https://download.01.org/0day-ci/archive/20240128/202401281542.hlZQZx6m-lkp@i...) compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240128/202401281542.hlZQZx6m-lkp@i...)
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/202401281542.hlZQZx6m-lkp@intel.com/
All warnings (new ones prefixed by >>):
sound/arm/aaci.c: In function 'aaci_do_suspend':
sound/arm/aaci.c:742:22: warning: unused variable 'aaci' [-Wunused-variable]
742 | struct aaci *aaci = card->private_data; | ^~~~
vim +/aaci +742 sound/arm/aaci.c
cb5a6ffc5c09bc Russell King 2005-05-12 736 cb5a6ffc5c09bc Russell King 2005-05-12 737 /* cb5a6ffc5c09bc Russell King 2005-05-12 738 * Power Management. cb5a6ffc5c09bc Russell King 2005-05-12 739 */ b13a714923fe4d Ulf Hansson 2013-12-03 740 static int aaci_do_suspend(struct snd_card *card) cb5a6ffc5c09bc Russell King 2005-05-12 741 { cb5a6ffc5c09bc Russell King 2005-05-12 @742 struct aaci *aaci = card->private_data; 792a6c51875c9d Takashi Iwai 2005-11-17 743 snd_power_change_state(card, SNDRV_CTL_POWER_D3cold); cb5a6ffc5c09bc Russell King 2005-05-12 744 return 0; cb5a6ffc5c09bc Russell King 2005-05-12 745 } cb5a6ffc5c09bc Russell King 2005-05-12 746
:::::: The code at line 742 was first introduced by commit :::::: cb5a6ffc5c09bc354af69407dae710dcddcced37 [ALSA] ARM AACI primecell driver
:::::: TO: Russell King rmk@arm.linux.org.uk :::::: CC: Jaroslav Kysela perex@suse.cz