Hi Kuninori,

[auto build test ERROR on asoc/for-next]
[also build test ERROR on v4.7 next-20160802]
[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/Kuninori-Morimoto/ASoC-codec-duplicated-callback-function-goes-to-component-on-wm8978/20160803-130055
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git 
for-next
config: x86_64-randconfig-x015-201631 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

>> sound/soc/codecs/wm8978.c:1003:3: error: implicit declaration of function 
>> 'COMPONENT_FUNC' [-Werror=implicit-function-declaration]
      COMPONENT_FUNC(controls, wm8978_snd_controls),
      ^~~~~~~~~~~~~~
>> sound/soc/codecs/wm8978.c:1003:18: error: 'controls' undeclared here (not in 
>> a function)
      COMPONENT_FUNC(controls, wm8978_snd_controls),
                     ^~~~~~~~
>> sound/soc/codecs/wm8978.c:1004:18: error: 'dapm_widgets' undeclared here 
>> (not in a function)
      COMPONENT_FUNC(dapm_widgets, wm8978_dapm_widgets),
                     ^~~~~~~~~~~~
>> sound/soc/codecs/wm8978.c:1005:18: error: 'dapm_routes' undeclared here (not 
>> in a function)
      COMPONENT_FUNC(dapm_routes, wm8978_dapm_routes),
                     ^~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/COMPONENT_FUNC +1003 sound/soc/codecs/wm8978.c

   997          .probe =        wm8978_probe,
   998          .suspend =      wm8978_suspend,
   999          .resume =       wm8978_resume,
  1000          .set_bias_level = wm8978_set_bias_level,
  1001  
  1002          .component_driver = {
> 1003                  COMPONENT_FUNC(controls,        wm8978_snd_controls),
> 1004                  COMPONENT_FUNC(dapm_widgets,    wm8978_dapm_widgets),
> 1005                  COMPONENT_FUNC(dapm_routes,     wm8978_dapm_routes),
  1006          },
  1007  };
  1008  

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

Attachment: .config.gz
Description: Binary data

Reply via email to