From: Benjamin Berg Date: Thu, 5 Jun 2025 05:03:25 +0000 (+0200) Subject: um: remove "extern" from implementation of sigchld_handler X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=e56a50ff7c12983aba710bd02a2c2ad401379e91;p=linux-2.6-microblaze.git um: remove "extern" from implementation of sigchld_handler There is no need to mark the function as extern in the implementation. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202506051226.X8r7X5aa-lkp@intel.com/ Fixes: 8420e08fe3a5 ("um: Track userspace children dying in SECCOMP mode") Signed-off-by: Benjamin Berg Link: https://patch.msgid.link/20250605050325.1077208-2-benjamin@sipsolutions.net Signed-off-by: Johannes Berg --- diff --git a/arch/um/kernel/irq.c b/arch/um/kernel/irq.c index f1787be3983c..0dfaf96bb7da 100644 --- a/arch/um/kernel/irq.c +++ b/arch/um/kernel/irq.c @@ -691,8 +691,8 @@ void __init init_IRQ(void) os_setup_epoll(); } -extern void sigchld_handler(int sig, struct siginfo *unused_si, - struct uml_pt_regs *regs, void *mc) +void sigchld_handler(int sig, struct siginfo *unused_si, + struct uml_pt_regs *regs, void *mc) { do_IRQ(SIGCHLD_IRQ, regs); }