All of lore.kernel.org
 help / color / mirror / Atom feed
* [arm-integrator:nested_lazy_mmu 2/7] arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:35:17: error: 'return' with no value, in function returning non-void
@ 2025-09-03 19:21 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-09-03 19:21 UTC (permalink / raw)
  To: Kevin Brodsky; +Cc: oe-kbuild-all

[community] /zdci/src/lkp/sbin/sync-produce --item /zdci/kbuild/indicators/6b/6bd8375a897e4aee7a5cb7a9583f3d365fe9c3de-first_error_kconfig --flag create-dir

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git nested_lazy_mmu
head:   95673e91d66295c538fe848aa7ce00753f02b2e1
commit: 6bd8375a897e4aee7a5cb7a9583f3d365fe9c3de [2/7] mm: introduce local state for lazy_mmu sections
config: powerpc64-randconfig-001-20250904 (https://download.01.org/0day-ci/archive/20250904/202509040307.50Z30uOL-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250904/202509040307.50Z30uOL-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/202509040307.50Z30uOL-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from arch/powerpc/include/asm/book3s/64/tlbflush.h:9,
                    from arch/powerpc/include/asm/book3s/tlbflush.h:6,
                    from arch/powerpc/include/asm/tlbflush.h:6,
                    from arch/powerpc/include/asm/pgtable.h:11,
                    from include/linux/pgtable.h:6,
                    from arch/powerpc/include/asm/kup.h:43,
                    from arch/powerpc/include/asm/uaccess.h:8,
                    from include/linux/uaccess.h:12,
                    from include/linux/sched/task.h:13,
                    from include/linux/sched/signal.h:9,
                    from include/linux/rcuwait.h:6,
                    from include/linux/percpu-rwsem.h:7,
                    from include/linux/fs.h:34,
                    from include/linux/compat.h:17,
                    from arch/powerpc/kernel/asm-offsets.c:12:
   arch/powerpc/include/asm/book3s/64/tlbflush-hash.h: In function 'arch_enter_lazy_mmu_mode':
>> arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:35:17: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch]
      35 |                 return;
         |                 ^~~~~~
   arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:30:32: note: declared here
      30 | static inline lazy_mmu_state_t arch_enter_lazy_mmu_mode(void)
         |                                ^~~~~~~~~~~~~~~~~~~~~~~~
   make[3]: *** [scripts/Makefile.build:182: arch/powerpc/kernel/asm-offsets.s] Error 1 shuffle=3253080104
   make[3]: Target 'prepare' not remade because of errors.
   make[2]: *** [Makefile:1282: prepare0] Error 2 shuffle=3253080104
   make[2]: Target 'prepare' not remade because of errors.
   make[1]: *** [Makefile:248: __sub-make] Error 2 shuffle=3253080104
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:248: __sub-make] Error 2 shuffle=3253080104
   make: Target 'prepare' not remade because of errors.


vim +/return +35 arch/powerpc/include/asm/book3s/64/tlbflush-hash.h

ee3b93ebfbed62 Aneesh Kumar K.V 2016-03-01  29  
6bd8375a897e4a Kevin Brodsky    2025-07-31  30  static inline lazy_mmu_state_t arch_enter_lazy_mmu_mode(void)
ee3b93ebfbed62 Aneesh Kumar K.V 2016-03-01  31  {
1a472c9dba6b96 Aneesh Kumar K.V 2016-04-29  32  	struct ppc64_tlb_batch *batch;
ee3b93ebfbed62 Aneesh Kumar K.V 2016-03-01  33  
1a472c9dba6b96 Aneesh Kumar K.V 2016-04-29  34  	if (radix_enabled())
1a472c9dba6b96 Aneesh Kumar K.V 2016-04-29 @35  		return;
b9ef323ea1682f Nicholas Piggin  2022-10-14  36  	/*
b9ef323ea1682f Nicholas Piggin  2022-10-14  37  	 * apply_to_page_range can call us this preempt enabled when
b9ef323ea1682f Nicholas Piggin  2022-10-14  38  	 * operating on kernel page tables.
b9ef323ea1682f Nicholas Piggin  2022-10-14  39  	 */
b9ef323ea1682f Nicholas Piggin  2022-10-14  40  	preempt_disable();
1a472c9dba6b96 Aneesh Kumar K.V 2016-04-29  41  	batch = this_cpu_ptr(&ppc64_tlb_batch);
ee3b93ebfbed62 Aneesh Kumar K.V 2016-03-01  42  	batch->active = 1;
6bd8375a897e4a Kevin Brodsky    2025-07-31  43  
6bd8375a897e4a Kevin Brodsky    2025-07-31  44  	return LAZY_MMU_DEFAULT;
ee3b93ebfbed62 Aneesh Kumar K.V 2016-03-01  45  }
ee3b93ebfbed62 Aneesh Kumar K.V 2016-03-01  46  

:::::: The code at line 35 was first introduced by commit
:::::: 1a472c9dba6b9646fd36717968f6a531b4441c7d powerpc/mm/radix: Add tlbflush routines

:::::: TO: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
:::::: CC: Michael Ellerman <mpe@ellerman.id.au>

-- 
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:[~2025-09-03 19:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-03 19:21 [arm-integrator:nested_lazy_mmu 2/7] arch/powerpc/include/asm/book3s/64/tlbflush-hash.h:35:17: error: 'return' with no value, in function returning non-void 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.