mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 05:34:13 +08:00
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
This commit is contained in:
parent
7e9ab144c1
commit
59fd366b9b
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user