[renesas-drivers:topic/gen3-latest 911/1492] include/linux/module.h:213:27: error: '__mod_of__adv7482_of_ids_device_table' aliased to undefined symbol 'adv7482_of_ids'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/gen3-latest
head:   88f41090789e9cdfe3715fb77bd9542b75536d60
commit: c585bda5a818d6c75430e57587c7e529395ddfbf [911/1492] [media] i2c: adv7482: add adv7482 driver
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        git checkout c585bda5a818d6c75430e57587c7e529395ddfbf
        # save the attached .config to linux build tree
        make ARCH=i386 

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

   In file included from drivers/media/i2c/adv7482.c:15:0:
   drivers/media/i2c/adv7482.c:1368:25: error: 'adv7482_of_ids' undeclared here (not in a function)
    MODULE_DEVICE_TABLE(of, adv7482_of_ids);
                            ^
   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__adv7482_of_ids_device_table' aliased to undefined symbol 'adv7482_of_ids'
    extern const typeof(name) __mod_##type##__##name##_device_table  \
                              ^
>> drivers/media/i2c/adv7482.c:1368:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
    MODULE_DEVICE_TABLE(of, adv7482_of_ids);
    ^~~~~~~~~~~~~~~~~~~
   drivers/media/i2c/adv7482.c:807:12: warning: 'adv7482_query_dv_timings' defined but not used [-Wunused-function]
    static int adv7482_query_dv_timings(struct v4l2_subdev *sd,
               ^~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/i2c/adv7482.c:795:12: warning: 'adv7482_g_dv_timings' defined but not used [-Wunused-function]
    static int adv7482_g_dv_timings(struct v4l2_subdev *sd,
               ^~~~~~~~~~~~~~~~~~~~
   drivers/media/i2c/adv7482.c:761:12: warning: 'adv7482_s_dv_timings' defined but not used [-Wunused-function]
    static int adv7482_s_dv_timings(struct v4l2_subdev *sd,
               ^~~~~~~~~~~~~~~~~~~~

vim +213 include/linux/module.h

^1da177e Linus Torvalds  2005-04-16  207  /* What your module does. */
^1da177e Linus Torvalds  2005-04-16  208  #define MODULE_DESCRIPTION(_description) MODULE_INFO(description, _description)
^1da177e Linus Torvalds  2005-04-16  209  
cff26a51 Rusty Russell   2014-02-03  210  #ifdef MODULE
cff26a51 Rusty Russell   2014-02-03  211  /* Creates an alias so file2alias.c can find device table. */
^1da177e Linus Torvalds  2005-04-16  212  #define MODULE_DEVICE_TABLE(type, name)					\
6301939d Andrey Ryabinin 2015-02-13 @213  extern const typeof(name) __mod_##type##__##name##_device_table		\
cff26a51 Rusty Russell   2014-02-03  214    __attribute__ ((unused, alias(__stringify(name))))
cff26a51 Rusty Russell   2014-02-03  215  #else  /* !MODULE */
cff26a51 Rusty Russell   2014-02-03  216  #define MODULE_DEVICE_TABLE(type, name)

:::::: The code at line 213 was first introduced by commit
:::::: 6301939d97d079f0d3dbe71e750f4daf5d39fc33 module: fix types of device tables aliases

:::::: TO: Andrey Ryabinin <a.ryabinin@xxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux