Re: [PATCH 2/2] ASoC: Add ADAU1372 audio CODEC support

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

 



Hi Alexandre,

I love your patch! Perhaps something to improve:

[auto build test WARNING on asoc/for-next]
[also build test WARNING on v5.10-rc3 next-20201110]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Alexandre-Belloni/dt-bindings-sound-adau1372-Add-bindings-documentation/20201105-041438
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: x86_64-randconfig-a013-20201109 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 09ec07827b1128504457a93dee80b2ceee1af600)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://github.com/0day-ci/linux/commit/f483771e450f4bb74b8e585ab5d7fb63ba557b29
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Alexandre-Belloni/dt-bindings-sound-adau1372-Add-bindings-documentation/20201105-041438
        git checkout f483771e450f4bb74b8e585ab5d7fb63ba557b29
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> sound/soc/codecs/adau1372.c:161:29: warning: unused variable 'adau1372_bias_mic_enum' [-Wunused-const-variable]
   static SOC_ENUM_SINGLE_DECL(adau1372_bias_mic_enum,
                               ^
   1 warning generated.

vim +/adau1372_bias_mic_enum +161 sound/soc/codecs/adau1372.c

   148	
   149	static SOC_ENUM_SINGLE_DECL(adau1372_bias_hp_enum,
   150		ADAU1372_REG_BIAS_CTRL0, 6, adau1372_bias_text);
   151	static SOC_ENUM_SINGLE_DECL(adau1372_bias_afe0_1_enum,
   152		ADAU1372_REG_BIAS_CTRL0, 4, adau1372_bias_text);
   153	static SOC_VALUE_ENUM_SINGLE_DECL(adau1372_bias_adc2_3_enum,
   154		ADAU1372_REG_BIAS_CTRL0, 2, 0x3, adau1372_bias_adc_text,
   155		adau1372_bias_adc_values);
   156	static SOC_VALUE_ENUM_SINGLE_DECL(adau1372_bias_adc0_1_enum,
   157		ADAU1372_REG_BIAS_CTRL0, 0, 0x3, adau1372_bias_adc_text,
   158		adau1372_bias_adc_values);
   159	static SOC_ENUM_SINGLE_DECL(adau1372_bias_afe2_3_enum,
   160		ADAU1372_REG_BIAS_CTRL1, 4, adau1372_bias_text);
 > 161	static SOC_ENUM_SINGLE_DECL(adau1372_bias_mic_enum,
   162		ADAU1372_REG_BIAS_CTRL1, 2, adau1372_bias_text);
   163	static SOC_ENUM_SINGLE_DECL(adau1372_bias_dac_enum,
   164		ADAU1372_REG_BIAS_CTRL1, 0, adau1372_bias_dac_text);
   165	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux