[PATCH 2/2] um: remove "extern" from implementation of sigchld_handler
Benjamin Berg
benjamin at sipsolutions.net
Wed Jun 4 22:03:25 PDT 2025
From: Benjamin Berg <benjamin.berg at intel.com>
There is no need to mark the function as extern in the implementation.
Reported-by: kernel test robot <lkp at intel.com>
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 <benjamin.berg at intel.com>
---
arch/um/kernel/irq.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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);
}
--
2.49.0
More information about the linux-um
mailing list