[PATCH -next] powerpc/fadump: make symbol 'rtas_fadump_set_regval' static

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE1931d LANDED

Landed in mainline as 59fd366b9bef on 2021-04-14.

2 messages, 2 authors, 2021-04-19 · open the first message on its own page

[PATCH -next] powerpc/fadump: make symbol 'rtas_fadump_set_regval' static

From: Pu Lehui <pulehui@huawei.com>
Date: 2021-04-08 06:20:22

Fix sparse warnings:

arch/powerpc/platforms/pseries/rtas-fadump.c:250:6: warning:
 symbol 'rtas_fadump_set_regval' was not declared. Should it be static?

Signed-off-by: Pu Lehui <pulehui@huawei.com>
---
 arch/powerpc/platforms/pseries/rtas-fadump.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/platforms/pseries/rtas-fadump.c b/arch/powerpc/platforms/pseries/rtas-fadump.c
index 81343908ed33..f8f73b47b107 100644
--- a/arch/powerpc/platforms/pseries/rtas-fadump.c
+++ b/arch/powerpc/platforms/pseries/rtas-fadump.c
@@ -247,7 +247,7 @@ static inline int rtas_fadump_gpr_index(u64 id)
 	return i;
 }
 
-void rtas_fadump_set_regval(struct pt_regs *regs, u64 reg_id, u64 reg_val)
+static void rtas_fadump_set_regval(struct pt_regs *regs, u64 reg_id, u64 reg_val)
 {
 	int i;
 
-- 
2.17.1

Re: [PATCH -next] powerpc/fadump: make symbol 'rtas_fadump_set_regval' static

From: Michael Ellerman <hidden>
Date: 2021-04-19 04:05:16

On Thu, 8 Apr 2021 14:20:12 +0800, Pu Lehui wrote:
Fix sparse warnings:

arch/powerpc/platforms/pseries/rtas-fadump.c:250:6: warning:
 symbol 'rtas_fadump_set_regval' was not declared. Should it be static?
Applied to powerpc/next.

[1/1] powerpc/fadump: make symbol 'rtas_fadump_set_regval' static
      https://git.kernel.org/powerpc/c/59fd366b9bef2d048af763e27cd1622ee5a1dfd4

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help