[PATCH] powerpc/fadump: trivial fix of spelling mistake, clean up message

From: Colin King
Date: Fri Jun 24 2016 - 13:43:28 EST


From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

trivial fix to spelling mistake "rgistration" and minor clean up
of the printk error message

Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
---
arch/powerpc/kernel/fadump.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/kernel/fadump.c b/arch/powerpc/kernel/fadump.c
index 3cb3b02a..0358f5b 100644
--- a/arch/powerpc/kernel/fadump.c
+++ b/arch/powerpc/kernel/fadump.c
@@ -1010,7 +1010,7 @@ static int fadump_invalidate_dump(struct fadump_mem_struct *fdm)

if (rc) {
printk(KERN_ERR "Failed to invalidate firmware-assisted dump "
- "rgistration. unexpected error(%d).\n", rc);
+ "registration. Unexpected error (%d).\n", rc);
return rc;
}
fw_dump.dump_active = 0;
--
2.8.1