[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231128071225.801111-1-wjduan@linx-info.com>
Date: Tue, 28 Nov 2023 15:12:25 +0800
From: Wujie Duan <wjduan@...x-info.com>
To: tsbogend@...ha.franken.de
Cc: linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org,
Wujie Duan <wjduan@...x-info.com>
Subject: [PATCH] Mark symbols static where possible for mips/kernel
We get 1 error when building kernel with -Werror=missing-prototypes
Signed-off-by: Wujie Duan <wjduan@...x-info.com>
---
arch/mips/kernel/signal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/kernel/signal.c b/arch/mips/kernel/signal.c
index 479999b7f2de..b99c0e9bb5c6 100644
--- a/arch/mips/kernel/signal.c
+++ b/arch/mips/kernel/signal.c
@@ -435,7 +435,7 @@ int protected_restore_fp_context(void __user *sc)
return err ?: sig;
}
-int setup_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc)
+static int setup_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc)
{
int err = 0;
int i;
--
2.34.1
Powered by blists - more mailing lists