Re: [tip:core/entry 2/3] arch/s390/include/asm/entry-common.h:49:18: error: call to undeclared function 'task_stack_page'; ISO C99 and later do not support implicit function declarations

Gregory Price <[email protected]>
Newsgroups dev.linux.lists.llvm,dev.linux.lists.oe-kbuild-all,org.kernel.vger.linux-kernel
Message-ID <ak545Coj9ogxnt4_@gourry-fedora-PF4VCD3F>
On Wed, Jul 08, 2026 at 10:19:04AM +0200, Thomas Gleixner wrote:
> On Wed, Jul 08 2026 at 14:56, kernel test robot wrote:
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core/entry
> > head:   34ef6308418f138395a664bf9f5d80ace9825ac6
> > commit: 7fc04d7044aaa5ffe2afe78979fe6ddd5da24f10 [2/3] syscall_user_dispatch: Make it configurable in Kconfig
> > config: s390-allnoconfig (https://download.01.org/0day-ci/archive/20260708/[email protected]/config)
> > compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 0a2fb2a2269da0e2a3e230beb6cad39ca314db33)
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260708/[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/s390/kernel/traps.c:24:
> >    In file included from include/linux/entry-common.h:5:
> >>> arch/s390/include/asm/entry-common.h:49:18: error: call to undeclared function 'task_stack_page'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> >       49 |         pai_kernel_exit(current_pt_regs());
> 
> Bah. I missed to spot the header ordering change putting the
> asm/... includes in front. I really hate our include mess.
> 
> Let me fix that up.
>

Ah, I wasn't 100% sure on this - noted for the future.

Sorry about the headache and thank you for the fixup.

~Gregory
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.