lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202108190945.K3E0bQCy-lkp@intel.com>
Date:   Thu, 19 Aug 2021 09:54:51 +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:rperier-rtc 5/9] drivers/rtc/rtc-msc313.c:231: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 rperier-rtc
head:   c3937f8420a5b44e0a7779c71519bb957a978ad5
commit: 2a634e5f7844b41d99f96989a044b2b183b42ecc [5/9] rtc: Add support for the MSTAR MSC313 RTC
config: ia64-allmodconfig (attached as .config)
compiler: ia64-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/2a634e5f7844b41d99f96989a044b2b183b42ecc
        git remote add linux-chenxing git://github.com/linux-chenxing/linux.git
        git fetch --no-tags linux-chenxing rperier-rtc
        git checkout 2a634e5f7844b41d99f96989a044b2b183b42ecc
        # 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=ia64 SHELL=/bin/bash drivers/infiniband/hw/bnxt_re/ 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:231:25: error: 'ms_rtc_of_match_table' undeclared here (not in a function); did you mean 'msc313_rtc_of_match_table'?
     231 | 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:231:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
     231 | MODULE_DEVICE_TABLE(of, ms_rtc_of_match_table);
         | ^~~~~~~~~~~~~~~~~~~


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

   226	
   227	static const struct of_device_id msc313_rtc_of_match_table[] = {
   228		{ .compatible = "mstar,msc313-rtc" },
   229		{ }
   230	};
 > 231	MODULE_DEVICE_TABLE(of, ms_rtc_of_match_table);
   232	

---
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" (64478 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ