tree:
https://github.com/omap-audio/linux-audio peter/linux-next-wip
head: 616dbf432c14c411575f7d278d2215534464e632
commit: 384dab064b9e80bfba455bc3c54b12acb4fd1d22 [45/94] ASoC: Initial driver for TAS2555
Smart Amplifier
config: i386-randconfig-r013-20201213 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
#
https://github.com/omap-audio/linux-audio/commit/384dab064b9e80bfba455bc3...
git remote add omap-audio
https://github.com/omap-audio/linux-audio
git fetch --no-tags omap-audio peter/linux-next-wip
git checkout 384dab064b9e80bfba455bc3c54b12acb4fd1d22
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
sound/soc/codecs/tas2555.c: In function 'tas2555_read':
> sound/soc/codecs/tas2555.c:96:6: warning: variable 'ret'
set but not used [-Wunused-but-set-variable]
96 | int ret;
| ^~~
vim +/ret +96 sound/soc/codecs/tas2555.c
90
91 static unsigned int tas2555_read(struct snd_soc_component *component,
92 unsigned int reg)
93 {
94 struct tas2555_priv *tas2555 = snd_soc_component_get_drvdata(component);
95 unsigned int value = 0;
96 int ret;
97
98 dev_dbg(component->dev, "%s: BOOK:PAGE:REG %u:%u:%u\n", __func__,
99 TAS2555_BOOK_ID(reg), TAS2555_PAGE_ID(reg),
100 TAS2555_PAGE_REG(reg));
101 tas2555_change_book(tas2555, TAS2555_BOOK_ID(reg));
102 ret = regmap_read(tas2555->regmap, TAS2555_BOOK_REG(reg), &value);
103 return value;
104 }
105
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org