Hi Hans,

[auto build test ERROR on usb/usb-testing]
[also build test ERROR on v4.10-rc7 next-20170208]
[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/Hans-Ulli-Kroll/usb-host-fotg2-add-devicetree-probing/20170209-042041
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git 
usb-testing
config: x86_64-randconfig-s4-02090632 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   In file included from drivers/usb/host/fotg210-hcd.c:25:0:
>> drivers/usb/host/fotg210-hcd.c:5694:25: error: 'exynos_ehci_match' 
>> undeclared here (not in a function)
    MODULE_DEVICE_TABLE(of, exynos_ehci_match);
                            ^
   include/linux/module.h:213:21: note: in definition of macro 
'MODULE_DEVICE_TABLE'
    extern const typeof(name) __mod_##type##__##name##_device_table  \
                        ^~~~
>> include/linux/module.h:213:27: error: 
>> '__mod_of__exynos_ehci_match_device_table' aliased to undefined symbol 
>> 'exynos_ehci_match'
    extern const typeof(name) __mod_##type##__##name##_device_table  \
                              ^
>> drivers/usb/host/fotg210-hcd.c:5694:1: note: in expansion of macro 
>> 'MODULE_DEVICE_TABLE'
    MODULE_DEVICE_TABLE(of, exynos_ehci_match);
    ^~~~~~~~~~~~~~~~~~~

vim +/exynos_ehci_match +5694 drivers/usb/host/fotg210-hcd.c

  5688  
  5689  #ifdef CONFIG_OF
  5690  static const struct of_device_id fotg210_ehci_match[] = {
  5691          { .compatible = "faraday,fotg210-hcd" },
  5692          {},
  5693  };
> 5694  MODULE_DEVICE_TABLE(of, exynos_ehci_match);
  5695  #endif
  5696  
  5697  static struct platform_driver fotg210_hcd_driver = {

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

Attachment: .config.gz
Description: application/gzip

Reply via email to