* [android-common:android15-6.6-2024-11 0/1] include/sound/tas2781-tlv.h:18:35: warning: 'dvc_tlv' defined but not used
@ 2026-03-31 14:11 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-03-31 14:11 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
Hi Gergo,
FYI, the error/warning still remains.
tree: https://android.googlesource.com/kernel/common android15-6.6-2024-11
head: 8afee3a5a02e86617a56f39a05fbdfe3e2d5a469
commit: b999e77ecf3a30e03f023c0acc1d97dbd5d42087 [0/1] ALSA: hda/tas2781: remove digital gain kcontrol
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20260331/202603312241.JDu5DmbK-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260331/202603312241.JDu5DmbK-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/202603312241.JDu5DmbK-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:[~2026-03-31 14:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-31 14:11 [android-common:android15-6.6-2024-11 0/1] include/sound/tas2781-tlv.h:18:35: warning: 'dvc_tlv' defined but not used kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.