[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202109120135.wq7U9ddY-lkp@intel.com>
Date: Sun, 12 Sep 2021 01:30:37 +0800
From: kernel test robot <lkp@...el.com>
To: Daniel Palmer <daniel@...f.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Romain Perier <romain.perier@...il.com>
Subject: [linux-chenxing:msc313_mainlining 39/40]
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'?
tree: git://github.com/linux-chenxing/linux.git msc313_mainlining
head: 893b825369a1f5d4a4d2013f363053de3e61a1fd
commit: d9c1eb94af9ecd913f590708f871c484e82a42da [39/40] 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/d9c1eb94af9ecd913f590708f871c484e82a42da
git remote add linux-chenxing git://github.com/linux-chenxing/linux.git
git fetch --no-tags linux-chenxing msc313_mainlining
git checkout d9c1eb94af9ecd913f590708f871c484e82a42da
# 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/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: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);
| ^~~~~~~~~~~~~~~~~~~
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
Download attachment ".config.gz" of type "application/gzip" (55456 bytes)
Powered by blists - more mailing lists