All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-chenxing:msc313_mainlining 40/41] drivers/rtc/rtc-msc313.c:243:25: error: 'ms_rtc_of_match_table' undeclared here (not in a function); did you mean 'msc313_rtc_of_match_table'?
@ 2021-08-22 11:39 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-08-22 11:39 UTC (permalink / raw)
  To: Daniel Palmer; +Cc: kbuild-all, linux-kernel, Romain Perier

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

tree:   git://github.com/linux-chenxing/linux.git msc313_mainlining
head:   57db68128a4c2d6de54743980d3f8d6abd32be5c
commit: 37205044bfe9b34ab9f2a65eff3cb2f4c348ee02 [40/41] rtc: Add support for the MSTAR MSC313 RTC
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 11.2.0
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
        # https://github.com/linux-chenxing/linux/commit/37205044bfe9b34ab9f2a65eff3cb2f4c348ee02
        git remote add linux-chenxing git://github.com/linux-chenxing/linux.git
        git fetch --no-tags linux-chenxing msc313_mainlining
        git checkout 37205044bfe9b34ab9f2a65eff3cb2f4c348ee02
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=sh SHELL=/bin/bash drivers/

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

All errors (new ones prefixed by >>):

   In file included from drivers/rtc/rtc-msc313.c:13:
>> drivers/rtc/rtc-msc313.c:243:25: error: 'ms_rtc_of_match_table' undeclared here (not in a function); did you mean 'msc313_rtc_of_match_table'?
     243 | MODULE_DEVICE_TABLE(of, ms_rtc_of_match_table);
         |                         ^~~~~~~~~~~~~~~~~~~~~
   include/linux/module.h:244:15: note: in definition of macro 'MODULE_DEVICE_TABLE'
     244 | extern typeof(name) __mod_##type##__##name##_device_table               \
         |               ^~~~
>> include/linux/module.h:244:21: error: '__mod_of__ms_rtc_of_match_table_device_table' aliased to undefined symbol 'ms_rtc_of_match_table'
     244 | extern typeof(name) __mod_##type##__##name##_device_table               \
         |                     ^~~~~~
   drivers/rtc/rtc-msc313.c:243:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
     243 | MODULE_DEVICE_TABLE(of, ms_rtc_of_match_table);
         | ^~~~~~~~~~~~~~~~~~~

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_PDC
   Depends on SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && HAS_DMA
   Selected by
   - SND_ATMEL_SOC_SSC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC
   - SND_ATMEL_SOC_SSC_PDC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && ATMEL_SSC


vim +243 drivers/rtc/rtc-msc313.c

   238	
   239	static const struct of_device_id msc313_rtc_of_match_table[] = {
   240		{ .compatible = "mstar,msc313-rtc" },
   241		{ }
   242	};
 > 243	MODULE_DEVICE_TABLE(of, ms_rtc_of_match_table);
   244	

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

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

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

* [linux-chenxing:msc313_mainlining 40/41] drivers/rtc/rtc-msc313.c:243:25: error: 'ms_rtc_of_match_table' undeclared here (not in a function); did you mean 'msc313_rtc_of_match_table'?
@ 2021-08-22 11:39 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-08-22 11:39 UTC (permalink / raw)
  To: kbuild-all

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

tree:   git://github.com/linux-chenxing/linux.git msc313_mainlining
head:   57db68128a4c2d6de54743980d3f8d6abd32be5c
commit: 37205044bfe9b34ab9f2a65eff3cb2f4c348ee02 [40/41] rtc: Add support for the MSTAR MSC313 RTC
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 11.2.0
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
        # https://github.com/linux-chenxing/linux/commit/37205044bfe9b34ab9f2a65eff3cb2f4c348ee02
        git remote add linux-chenxing git://github.com/linux-chenxing/linux.git
        git fetch --no-tags linux-chenxing msc313_mainlining
        git checkout 37205044bfe9b34ab9f2a65eff3cb2f4c348ee02
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=sh SHELL=/bin/bash drivers/

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

All errors (new ones prefixed by >>):

   In file included from drivers/rtc/rtc-msc313.c:13:
>> drivers/rtc/rtc-msc313.c:243:25: error: 'ms_rtc_of_match_table' undeclared here (not in a function); did you mean 'msc313_rtc_of_match_table'?
     243 | MODULE_DEVICE_TABLE(of, ms_rtc_of_match_table);
         |                         ^~~~~~~~~~~~~~~~~~~~~
   include/linux/module.h:244:15: note: in definition of macro 'MODULE_DEVICE_TABLE'
     244 | extern typeof(name) __mod_##type##__##name##_device_table               \
         |               ^~~~
>> include/linux/module.h:244:21: error: '__mod_of__ms_rtc_of_match_table_device_table' aliased to undefined symbol 'ms_rtc_of_match_table'
     244 | extern typeof(name) __mod_##type##__##name##_device_table               \
         |                     ^~~~~~
   drivers/rtc/rtc-msc313.c:243:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
     243 | MODULE_DEVICE_TABLE(of, ms_rtc_of_match_table);
         | ^~~~~~~~~~~~~~~~~~~

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_PDC
   Depends on SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && HAS_DMA
   Selected by
   - SND_ATMEL_SOC_SSC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC
   - SND_ATMEL_SOC_SSC_PDC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && ATMEL_SSC


vim +243 drivers/rtc/rtc-msc313.c

   238	
   239	static const struct of_device_id msc313_rtc_of_match_table[] = {
   240		{ .compatible = "mstar,msc313-rtc" },
   241		{ }
   242	};
 > 243	MODULE_DEVICE_TABLE(of, ms_rtc_of_match_table);
   244	

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

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

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

end of thread, other threads:[~2021-08-22 11:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-22 11:39 [linux-chenxing:msc313_mainlining 40/41] drivers/rtc/rtc-msc313.c:243:25: error: 'ms_rtc_of_match_table' undeclared here (not in a function); did you mean 'msc313_rtc_of_match_table'? kernel test robot
2021-08-22 11:39 ` kernel 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.