Re: [PATCH 2/2] ASoC: tas517x: add tas5707 support

From: kbuild test robot
Date: Tue Jun 26 2018 - 22:08:23 EST


Hi Jerome,

I love your patch! Perhaps something to improve:

[auto build test WARNING on asoc/for-next]
[also build test WARNING on v4.18-rc2 next-20180626]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Jerome-Brunet/ASoC-add-tas5707-support/20180627-022004
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All warnings (new ones prefixed by >>):

>> sound/soc/codecs/tas571x.c:472:14: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
static const SOC_VALUE_ENUM_SINGLE_DECL(tas5707_volume_slew_step_enum,
^~~~~

vim +/const +472 sound/soc/codecs/tas571x.c

471
> 472 static const SOC_VALUE_ENUM_SINGLE_DECL(tas5707_volume_slew_step_enum,
473 TAS571X_VOL_CFG_REG, 0, 0x3,
474 tas5707_volume_slew_step_txt,
475 tas5707_volume_slew_step_values);
476

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip