Commit 4a03749f authored by Colin Ian King's avatar Colin Ian King Committed by Michael Ellerman

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: default avatarColin Ian King <colin.king@canonical.com>
[mpe: Keep rc on the same line, splitting it doesn't help]
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent cdb1b342
...@@ -1009,9 +1009,8 @@ static int fadump_invalidate_dump(struct fadump_mem_struct *fdm) ...@@ -1009,9 +1009,8 @@ static int fadump_invalidate_dump(struct fadump_mem_struct *fdm)
} while (wait_time); } while (wait_time);
if (rc) { if (rc) {
printk(KERN_ERR "Failed to invalidate firmware-assisted dump " pr_err("Failed to invalidate firmware-assisted dump registration. Unexpected error (%d).\n", rc);
"rgistration. unexpected error(%d).\n", rc); return rc
return rc;
} }
fw_dump.dump_active = 0; fw_dump.dump_active = 0;
fdm_active = NULL; fdm_active = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment