* [tiwai-sound:for-linus 12/17] include/sound/tas2781-tlv.h:18:35: warning: 'dvc_tlv' defined but not used
@ 2024-03-28 20:05 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-03-28 20:05 UTC (permalink / raw)
To: Gergo Koteles; +Cc: oe-kbuild-all, alsa-devel, Takashi Iwai
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-linus
head: 2d0401ee38d43ab0e4cdd02dfc9d402befb2b5c8
commit: ae065d0ce9e36ca4efdfb9b96ce3395bd1c19372 [12/17] ALSA: hda/tas2781: remove digital gain kcontrol
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20240329/202403290354.v0StnRpc-lkp@intel.com/config)
compiler: gcc-12 (Ubuntu 12.3.0-9ubuntu2) 12.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240329/202403290354.v0StnRpc-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/202403290354.v0StnRpc-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from include/sound/tlv.h:10,
from sound/pci/hda/tas2781_hda_i2c.c:22:
>> include/sound/tas2781-tlv.h:18:35: warning: 'dvc_tlv' defined but not used [-Wunused-const-variable=]
18 | static const DECLARE_TLV_DB_SCALE(dvc_tlv, -10000, 100, 0);
| ^~~~~~~
include/uapi/sound/tlv.h:53:22: note: in definition of macro 'SNDRV_CTL_TLVD_DECLARE_DB_SCALE'
53 | unsigned int name[] = { \
| ^~~~
include/sound/tas2781-tlv.h:18:14: note: in expansion of macro 'DECLARE_TLV_DB_SCALE'
18 | static const DECLARE_TLV_DB_SCALE(dvc_tlv, -10000, 100, 0);
| ^~~~~~~~~~~~~~~~~~~~
vim +/dvc_tlv +18 include/sound/tas2781-tlv.h
678f38eba1f2fe Shenghao Ding 2023-06-18 17
678f38eba1f2fe Shenghao Ding 2023-06-18 @18 static const DECLARE_TLV_DB_SCALE(dvc_tlv, -10000, 100, 0);
678f38eba1f2fe Shenghao Ding 2023-06-18 19 static const DECLARE_TLV_DB_SCALE(amp_vol_tlv, 1100, 50, 0);
678f38eba1f2fe Shenghao Ding 2023-06-18 20
:::::: The code at line 18 was first introduced by commit
:::::: 678f38eba1f2fe33ff700e85390ac98393e609ef ASoC: tas2781: Add Header file for tas2781 driver
:::::: TO: Shenghao Ding <13916275206@139.com>
:::::: CC: Mark Brown <broonie@kernel.org>
--
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-03-28 20:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-28 20:05 [tiwai-sound:for-linus 12/17] include/sound/tas2781-tlv.h:18:35: warning: 'dvc_tlv' defined 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