All of lore.kernel.org
 help / color / mirror / Atom feed
* [nomadik:ux500-skomer-v5.5-rc1 62/63] drivers/iio/light/gp2ap002.c:654:26: error: 'gp2ap002_id' undeclared here (not in a function); did you mean 'gp2ap002_init'?
@ 2019-12-29  2:35 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2019-12-29  2:35 UTC (permalink / raw)
  To: Linus Walleij; +Cc: kbuild-all, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 2794 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git ux500-skomer-v5.5-rc1
head:   0060faaf7fa91b7d76500f5b3092dcf0f864fab8
commit: f095962c5090d10649c6aa3c52da9fff190b8d22 [62/63] iio: light: Add a driver for Sharp GP2AP002x00F
config: mips-allmodconfig (attached as .config)
compiler: mips-linux-gcc (GCC) 7.5.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout f095962c5090d10649c6aa3c52da9fff190b8d22
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=mips 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

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

   In file included from drivers/iio/light/gp2ap002.c:22:0:
>> drivers/iio/light/gp2ap002.c:654:26: error: 'gp2ap002_id' undeclared here (not in a function); did you mean 'gp2ap002_init'?
    MODULE_DEVICE_TABLE(i2c, gp2ap002_id);
                             ^
   include/linux/module.h:230:15: note: in definition of macro 'MODULE_DEVICE_TABLE'
    extern typeof(name) __mod_##type##__##name##_device_table  \
                  ^~~~
>> include/linux/module.h:230:21: error: '__mod_i2c__gp2ap002_id_device_table' aliased to undefined symbol 'gp2ap002_id'
    extern typeof(name) __mod_##type##__##name##_device_table  \
                        ^
>> drivers/iio/light/gp2ap002.c:654:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
    MODULE_DEVICE_TABLE(i2c, gp2ap002_id);
    ^~~~~~~~~~~~~~~~~~~
--
   In file included from drivers/iio//light/gp2ap002.c:22:0:
   drivers/iio//light/gp2ap002.c:654:26: error: 'gp2ap002_id' undeclared here (not in a function); did you mean 'gp2ap002_init'?
    MODULE_DEVICE_TABLE(i2c, gp2ap002_id);
                             ^
   include/linux/module.h:230:15: note: in definition of macro 'MODULE_DEVICE_TABLE'
    extern typeof(name) __mod_##type##__##name##_device_table  \
                  ^~~~
>> include/linux/module.h:230:21: error: '__mod_i2c__gp2ap002_id_device_table' aliased to undefined symbol 'gp2ap002_id'
    extern typeof(name) __mod_##type##__##name##_device_table  \
                        ^
   drivers/iio//light/gp2ap002.c:654:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
    MODULE_DEVICE_TABLE(i2c, gp2ap002_id);
    ^~~~~~~~~~~~~~~~~~~

vim +654 drivers/iio/light/gp2ap002.c

   649	
   650	static const struct i2c_device_id gp2ap002_id_table[] = {
   651		{ "gp2ap002", 0 },
   652		{ },
   653	};
 > 654	MODULE_DEVICE_TABLE(i2c, gp2ap002_id);
   655	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 63089 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [nomadik:ux500-skomer-v5.5-rc1 62/63] drivers/iio/light/gp2ap002.c:654:26: error: 'gp2ap002_id' undeclared here (not in a function); did you mean 'gp2ap002_init'?
@ 2019-12-29  2:35 ` kbuild test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2019-12-29  2:35 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2854 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git ux500-skomer-v5.5-rc1
head:   0060faaf7fa91b7d76500f5b3092dcf0f864fab8
commit: f095962c5090d10649c6aa3c52da9fff190b8d22 [62/63] iio: light: Add a driver for Sharp GP2AP002x00F
config: mips-allmodconfig (attached as .config)
compiler: mips-linux-gcc (GCC) 7.5.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout f095962c5090d10649c6aa3c52da9fff190b8d22
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=mips 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

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

   In file included from drivers/iio/light/gp2ap002.c:22:0:
>> drivers/iio/light/gp2ap002.c:654:26: error: 'gp2ap002_id' undeclared here (not in a function); did you mean 'gp2ap002_init'?
    MODULE_DEVICE_TABLE(i2c, gp2ap002_id);
                             ^
   include/linux/module.h:230:15: note: in definition of macro 'MODULE_DEVICE_TABLE'
    extern typeof(name) __mod_##type##__##name##_device_table  \
                  ^~~~
>> include/linux/module.h:230:21: error: '__mod_i2c__gp2ap002_id_device_table' aliased to undefined symbol 'gp2ap002_id'
    extern typeof(name) __mod_##type##__##name##_device_table  \
                        ^
>> drivers/iio/light/gp2ap002.c:654:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
    MODULE_DEVICE_TABLE(i2c, gp2ap002_id);
    ^~~~~~~~~~~~~~~~~~~
--
   In file included from drivers/iio//light/gp2ap002.c:22:0:
   drivers/iio//light/gp2ap002.c:654:26: error: 'gp2ap002_id' undeclared here (not in a function); did you mean 'gp2ap002_init'?
    MODULE_DEVICE_TABLE(i2c, gp2ap002_id);
                             ^
   include/linux/module.h:230:15: note: in definition of macro 'MODULE_DEVICE_TABLE'
    extern typeof(name) __mod_##type##__##name##_device_table  \
                  ^~~~
>> include/linux/module.h:230:21: error: '__mod_i2c__gp2ap002_id_device_table' aliased to undefined symbol 'gp2ap002_id'
    extern typeof(name) __mod_##type##__##name##_device_table  \
                        ^
   drivers/iio//light/gp2ap002.c:654:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
    MODULE_DEVICE_TABLE(i2c, gp2ap002_id);
    ^~~~~~~~~~~~~~~~~~~

vim +654 drivers/iio/light/gp2ap002.c

   649	
   650	static const struct i2c_device_id gp2ap002_id_table[] = {
   651		{ "gp2ap002", 0 },
   652		{ },
   653	};
 > 654	MODULE_DEVICE_TABLE(i2c, gp2ap002_id);
   655	

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 63089 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-29  2:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-29  2:35 [nomadik:ux500-skomer-v5.5-rc1 62/63] drivers/iio/light/gp2ap002.c:654:26: error: 'gp2ap002_id' undeclared here (not in a function); did you mean 'gp2ap002_init'? kbuild test robot
2019-12-29  2:35 ` kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.