[linux-next:master 7112/8890] arch/riscv/mm/init.c:1495:25: error: 'MODULES_VADDR' undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   bb7a2467e6beef44a80a17d45ebf2931e7631083
commit: 7aa7eb8269eabaef9ac49d261385e7f330c95715 [7112/8890] arch: make execmem setup available regardless of CONFIG_MODULES
config: riscv-randconfig-c024-20221028 (https://download.01.org/0day-ci/archive/20240426/202404262217.Dt4HoodH-lkp@xxxxxxxxx/config)
compiler: riscv32-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240426/202404262217.Dt4HoodH-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404262217.Dt4HoodH-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   arch/riscv/mm/init.c: In function 'execmem_arch_setup':
>> arch/riscv/mm/init.c:1495:25: error: 'MODULES_VADDR' undeclared (first use in this function)
    1495 |                 start = MODULES_VADDR;
         |                         ^~~~~~~~~~~~~
   arch/riscv/mm/init.c:1495:25: note: each undeclared identifier is reported only once for each function it appears in
>> arch/riscv/mm/init.c:1496:23: error: 'MODULES_END' undeclared (first use in this function)
    1496 |                 end = MODULES_END;
         |                       ^~~~~~~~~~~


vim +/MODULES_VADDR +1495 arch/riscv/mm/init.c

  1489	
  1490	struct execmem_info __init *execmem_arch_setup(void)
  1491	{
  1492		unsigned long start, end;
  1493	
  1494		if (IS_ENABLED(CONFIG_64BIT)) {
> 1495			start = MODULES_VADDR;
> 1496			end = MODULES_END;

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux