[arm-perf:overflow-stack 10/13] include/linux/arm_sdei.h:16:45: error: expected identifier or '(' before numeric constant

kernel test robot <[email protected]> Fri, 31 Jul 2026 01:50:39 +0800
Newsgroups dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git overflow-stack
head:   7c0748c59a858f301fc801a9818ea1c11ff88ff0
commit: d017f75e2f157a38b824c8f4253f07fac65622eb [10/13] arm64: entry: Point SP_EL0 at the overflow stack
config: arm64-randconfig-003-20260730 (https://download.01.org/0day-ci/archive/20260731/[email protected]/config)
compiler: aarch64-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260731/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

   In file included from arch/arm64/kernel/smp.c:10:
>> include/linux/arm_sdei.h:16:45: error: expected identifier or '(' before numeric constant
    #define sdei_arch_get_entry_point(conduit) (0)
                                                ^
   arch/arm64/include/asm/sdei.h:49:15: note: in expansion of macro 'sdei_arch_get_entry_point'
    unsigned long sdei_arch_get_entry_point(int conduit);
                  ^~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from arch/arm64/include/asm/stacktrace.h:16,
                    from arch/arm64/kernel/smp.c:52:
   arch/arm64/include/asm/sdei.h:50: warning: "sdei_arch_get_entry_point" redefined
    #define sdei_arch_get_entry_point(x) sdei_arch_get_entry_point(x)
    
   In file included from arch/arm64/kernel/smp.c:10:
   include/linux/arm_sdei.h:16: note: this is the location of the previous definition
    #define sdei_arch_get_entry_point(conduit) (0)
    


vim +16 include/linux/arm_sdei.h

ad6eb31ef90355 James Morse 2018-01-08  13  
ad6eb31ef90355 James Morse 2018-01-08  14  /* Arch code should override this to set the entry point from firmware... */
ad6eb31ef90355 James Morse 2018-01-08  15  #ifndef sdei_arch_get_entry_point
ad6eb31ef90355 James Morse 2018-01-08 @16  #define sdei_arch_get_entry_point(conduit)	(0)
ad6eb31ef90355 James Morse 2018-01-08  17  #endif
ad6eb31ef90355 James Morse 2018-01-08  18  

:::::: The code at line 16 was first introduced by commit
:::::: ad6eb31ef90355993eb55ff77e0e855ae7d91e4c firmware: arm_sdei: Add driver for Software Delegated Exceptions

:::::: TO: James Morse <[email protected]>
:::::: CC: Catalin Marinas <[email protected]>

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