[tiwai-sound:topic/pm-ops 11/29] sound/arm/aaci.c:742:22: warning: unused variable 'aaci'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx/config)
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@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401281542.hlZQZx6m-lkp@xxxxxxxxx/

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@xxxxxxxxxxxxxxxx>
:::::: CC: Jaroslav Kysela <perex@xxxxxxx>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux