summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPu Lehui <pulehui@huawei.com>2021-04-08 08:20:12 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2021-04-14 15:04:19 +0200
commit59fd366b9bef2d048af763e27cd1622ee5a1dfd4 (patch)
tree77227d18e0557578ffe4d9044e5c37b3dc6c673b
parentpowerpc/mem: Use kmap_local_page() in flushing functions (diff)
downloadlinux-59fd366b9bef2d048af763e27cd1622ee5a1dfd4.tar.xz
linux-59fd366b9bef2d048af763e27cd1622ee5a1dfd4.zip
powerpc/fadump: make symbol 'rtas_fadump_set_regval' static
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> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210408062012.85973-1-pulehui@huawei.com
-rw-r--r--arch/powerpc/platforms/pseries/rtas-fadump.c2
1 files changed, 1 insertions, 1 deletions
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;