* [rppt:jitalloc/v2.4 10/13] arch/mips/mm/init.c:578:32: error: 'MODULES_END' undeclared here (not in a function); did you mean 'MODULE_END'?
@ 2023-09-09 20:40 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-09-09 20:40 UTC (permalink / raw)
To: Mike Rapoport (IBM); +Cc: oe-kbuild-all, Mike Rapoport
tree: https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git jitalloc/v2.4
head: 508766bb924d535d2b80ffe50eb60eae25c0c02e
commit: 5aa685724b6621283dedc62ec2e5d1a1b985f567 [10/13] arch: make execmem setup available regardless of CONFIG_MODULES
config: mips-bigsur_defconfig (https://download.01.org/0day-ci/archive/20230910/202309100402.7cTZX41o-lkp@intel.com/config)
compiler: mips64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230910/202309100402.7cTZX41o-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309100402.7cTZX41o-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/mips/mm/init.c:61:6: warning: no previous prototype for 'setup_zero_pages' [-Wmissing-prototypes]
61 | void setup_zero_pages(void)
| ^~~~~~~~~~~~~~~~
>> arch/mips/mm/init.c:578:32: error: 'MODULES_END' undeclared here (not in a function); did you mean 'MODULE_END'?
578 | .end = MODULES_END,
| ^~~~~~~~~~~
| MODULE_END
In file included from arch/mips/include/asm/io.h:29,
from include/linux/io.h:13,
from arch/mips/include/asm/mips-cps.h:11,
from arch/mips/include/asm/smp-ops.h:16,
from arch/mips/include/asm/smp.h:21,
from include/linux/smp.h:113,
from include/linux/lockdep.h:14,
from include/linux/rcupdate.h:29,
from include/linux/rculist.h:11,
from include/linux/pid.h:5,
from include/linux/sched.h:14,
from arch/mips/mm/init.c:15:
arch/mips/include/asm/page.h:156:39: error: initializer element is not constant
156 | #define __pgprot(x) ((pgprot_t) { (x) } )
| ^
arch/mips/include/asm/pgtable.h:30:25: note: in expansion of macro '__pgprot'
30 | #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
| ^~~~~~~~
arch/mips/mm/init.c:579:35: note: in expansion of macro 'PAGE_KERNEL'
579 | .pgprot = PAGE_KERNEL,
| ^~~~~~~~~~~
arch/mips/include/asm/page.h:156:39: note: (near initialization for '(anonymous).pgprot')
156 | #define __pgprot(x) ((pgprot_t) { (x) } )
| ^
arch/mips/include/asm/pgtable.h:30:25: note: in expansion of macro '__pgprot'
30 | #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
| ^~~~~~~~
arch/mips/mm/init.c:579:35: note: in expansion of macro 'PAGE_KERNEL'
579 | .pgprot = PAGE_KERNEL,
| ^~~~~~~~~~~
vim +578 arch/mips/mm/init.c
572
573 #if defined(CONFIG_EXECMEM) && defined(MODULE_START)
574 static struct execmem_params execmem_params __ro_after_init = {
575 .ranges = {
576 [EXECMEM_DEFAULT] = {
577 .start = MODULE_START,
> 578 .end = MODULES_END,
579 .pgprot = PAGE_KERNEL,
580 .alignment = 1,
581 },
582 },
583 };
584
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-09 20:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-09 20:40 [rppt:jitalloc/v2.4 10/13] arch/mips/mm/init.c:578:32: error: 'MODULES_END' undeclared here (not in a function); did you mean 'MODULE_END'? 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.