diff options
author | 2020-08-17 06:26:17 +0530 | |
---|---|---|
committer | 2020-08-17 14:13:18 +1000 | |
commit | 388692e943a58f28aac0fe83e75f5994da9ff8a1 (patch) | |
tree | 25eafc111fc5f717d993360b12c5d9dee834d1ff /drivers/nvme | |
parent | powerpc: Add POWER10 raw mode cputable entry (diff) | |
download | linux-388692e943a58f28aac0fe83e75f5994da9ff8a1.tar.gz linux-388692e943a58f28aac0fe83e75f5994da9ff8a1.tar.bz2 linux-388692e943a58f28aac0fe83e75f5994da9ff8a1.zip |
powerpc/kernel: Cleanup machine check function declarations
__machine_check_early_realmode_p*() are currently declared as extern
in cputable.c and because of this when compiled with "C=1" (which
enables semantic checker) produces these warnings.
CHECK arch/powerpc/kernel/mce_power.c
arch/powerpc/kernel/mce_power.c:709:6: warning: symbol '__machine_check_early_realmode_p7' was not declared. Should it be static?
arch/powerpc/kernel/mce_power.c:717:6: warning: symbol '__machine_check_early_realmode_p8' was not declared. Should it be static?
arch/powerpc/kernel/mce_power.c:722:6: warning: symbol '__machine_check_early_realmode_p9' was not declared. Should it be static?
arch/powerpc/kernel/mce_power.c:740:6: warning: symbol '__machine_check_early_realmode_p10' was not declared. Should it be static?
Patch here moves the declaration to asm/mce.h and includes the same in
cputable.c
Fixes: ae744f3432d3 ("powerpc/book3s: Flush SLB/TLBs if we get SLB/TLB machine check errors on power8")
Fixes: 7b9f71f974a1 ("powerpc/64s: POWER9 machine check handler")
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200817005618.3305028-1-maddy@linux.ibm.com
Diffstat (limited to 'drivers/nvme')
0 files changed, 0 insertions, 0 deletions