diff options
author | Colin Ian King <colin.king@canonical.com> | 2016-06-27 12:07:41 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-06-28 13:50:47 +1000 |
commit | 4a03749f140cbee6fee66b674ba763942d1446f2 (patch) | |
tree | 2ecdf0f6945c36360aede1d0f09ba67a5d1666de /arch | |
parent | cdb1b3424dba7d38a2835f6f5f5aaeae74885410 (diff) | |
download | linux-stable-4a03749f140cbee6fee66b674ba763942d1446f2.tar.gz linux-stable-4a03749f140cbee6fee66b674ba763942d1446f2.tar.bz2 linux-stable-4a03749f140cbee6fee66b674ba763942d1446f2.zip |
powerpc/fadump: Trivial fix of spelling mistake, clean up message
Fix trivial spelling mistake "rgistration". Also use pr_err()
instead of printk() and unsplit the string to keep it all on one
line.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
[mpe: Keep rc on the same line, splitting it doesn't help]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kernel/fadump.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/fadump.c b/arch/powerpc/kernel/fadump.c index 3cb3b02a13dd..f0664860753e 100644 --- a/arch/powerpc/kernel/fadump.c +++ b/arch/powerpc/kernel/fadump.c @@ -1009,9 +1009,8 @@ static int fadump_invalidate_dump(struct fadump_mem_struct *fdm) } while (wait_time); if (rc) { - printk(KERN_ERR "Failed to invalidate firmware-assisted dump " - "rgistration. unexpected error(%d).\n", rc); - return rc; + pr_err("Failed to invalidate firmware-assisted dump registration. Unexpected error (%d).\n", rc); + return rc } fw_dump.dump_active = 0; fdm_active = NULL; |