All of lore.kernel.org
 help / color / mirror / Atom feed
* [rppt:jitalloc/v2.2 10/12] arch/powerpc/mm/mem.c:419:18: error: 'struct execmem_range' has no member named 'text'
@ 2023-06-21 13:41 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-06-21 13:41 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.2
head:   4d3b7e33eca22e1fe243f586c13c875d248d29f6
commit: 5f24f0d18c8afbea8c6adc7274c588f256197685 [10/12] arch: make execmem setup available regardless of CONFIG_MODULES
config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20230621/202306212120.m2OLgLBW-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230621/202306212120.m2OLgLBW-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/202306212120.m2OLgLBW-lkp@intel.com/

All errors (new ones prefixed by >>):

>> arch/powerpc/mm/mem.c:419:18: error: 'struct execmem_range' has no member named 'text'
     419 |                 .text = {
         |                  ^~~~
   arch/powerpc/mm/mem.c:419:17: warning: braces around scalar initializer
     419 |                 .text = {
         |                 ^
   arch/powerpc/mm/mem.c:419:17: note: (near initialization for 'execmem_params.jit.start')
>> arch/powerpc/mm/mem.c:420:25: error: field name not in record or union initializer
     420 |                         .alignment = 1,
         |                         ^
   arch/powerpc/mm/mem.c:420:25: note: (near initialization for 'execmem_params.jit.start')
   arch/powerpc/mm/mem.c: In function 'execmem_arch_params':
   arch/powerpc/mm/mem.c:457:27: error: 'struct execmem_range' has no member named 'text'
     457 |         execmem_params.jit.text.start = VMALLOC_START;
         |                           ^
   arch/powerpc/mm/mem.c:458:27: error: 'struct execmem_range' has no member named 'text'
     458 |         execmem_params.jit.text.end = VMALLOC_END;
         |                           ^
   arch/powerpc/mm/mem.c:461:35: error: 'struct execmem_range' has no member named 'text'
     461 |                 execmem_params.jit.text.pgprot = PAGE_KERNEL_ROX;
         |                                   ^
   arch/powerpc/mm/mem.c:463:35: error: 'struct execmem_range' has no member named 'text'
     463 |                 execmem_params.jit.text.pgprot = PAGE_KERNEL_EXEC;
         |                                   ^


vim +419 arch/powerpc/mm/mem.c

   410	
   411	#ifdef CONFIG_EXECMEM
   412	static struct execmem_params execmem_params __ro_after_init = {
   413		.modules = {
   414			.text = {
   415				.alignment = 1,
   416			},
   417		},
   418		.jit = {
 > 419			.text = {
 > 420				.alignment = 1,
   421			},
   422		},
   423	};
   424	

-- 
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-06-21 13:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-21 13:41 [rppt:jitalloc/v2.2 10/12] arch/powerpc/mm/mem.c:419:18: error: 'struct execmem_range' has no member named 'text' 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.