Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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;