[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202107310419.6iK32P1p-lkp@intel.com>
Date: Sat, 31 Jul 2021 04:57:26 +0800
From: kernel test robot <lkp@...el.com>
To: Romain Perier <romain.perier@...il.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [linux-chenxing:rperier-rtc 7/7] drivers/rtc/rtc-msc313.c:229:25:
error: 'ms_rtc_of_match_table' undeclared here (not in a function); did you
mean 'msc313_rtc_of_match_table'?
Hi Romain,
First bad commit (maybe != root cause):
tree: git://github.com/linux-chenxing/linux.git rperier-rtc
head: 0a94a85f4e6d701c6945740acfb65f65793a5203
commit: 0a94a85f4e6d701c6945740acfb65f65793a5203 [7/7] fix driver
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 10.3.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/0a94a85f4e6d701c6945740acfb65f65793a5203
git remote add linux-chenxing git://github.com/linux-chenxing/linux.git
git fetch --no-tags linux-chenxing rperier-rtc
git checkout 0a94a85f4e6d701c6945740acfb65f65793a5203
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=sh SHELL=/bin/bash drivers/rtc/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
In file included from drivers/rtc/rtc-msc313.c:13:
>> drivers/rtc/rtc-msc313.c:229:25: error: 'ms_rtc_of_match_table' undeclared here (not in a function); did you mean 'msc313_rtc_of_match_table'?
229 | 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:229:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
229 | 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 +229 drivers/rtc/rtc-msc313.c
88cfefa536ca80e Daniel Palmer 2020-06-12 224
88cfefa536ca80e Daniel Palmer 2020-06-12 225 static const struct of_device_id msc313_rtc_of_match_table[] = {
88cfefa536ca80e Daniel Palmer 2020-06-12 226 { .compatible = "mstar,msc313-rtc" },
88cfefa536ca80e Daniel Palmer 2020-06-12 227 { }
88cfefa536ca80e Daniel Palmer 2020-06-12 228 };
88cfefa536ca80e Daniel Palmer 2020-06-12 @229 MODULE_DEVICE_TABLE(of, ms_rtc_of_match_table);
88cfefa536ca80e Daniel Palmer 2020-06-12 230
:::::: The code at line 229 was first introduced by commit
:::::: 88cfefa536ca80e13ffde033cdc96248e70d3724 rtc: Add support for the MSTAR MSC313 RTC
:::::: TO: Daniel Palmer <daniel@...f.com>
:::::: CC: Romain Perier <romain.perier@...il.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (55011 bytes)
Powered by blists - more mailing lists