linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][V2] powerpc/fadump: trivial fix of spelling mistake, clean up message
@ 2016-06-27 11:07 Colin King
  2016-06-30 12:36 ` [V2] " Michael Ellerman
  2016-07-01  2:31 ` [PATCH] powerpc/fadump: Fix compile error due to missing semicolon Ian Munsie
  0 siblings, 2 replies; 3+ messages in thread
From: Colin King @ 2016-06-27 11:07 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, Paul Mackerras, Michael Ellerman,
	Jiri Kosina, Rasmus Villemoes, Andrew Morton, linuxppc-dev
  Cc: linux-kernel

From: Colin Ian King <colin.king@canonical.com>

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>
---
 arch/powerpc/kernel/fadump.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/powerpc/kernel/fadump.c b/arch/powerpc/kernel/fadump.c
index 3cb3b02a..09cb2a7 100644
--- a/arch/powerpc/kernel/fadump.c
+++ b/arch/powerpc/kernel/fadump.c
@@ -1009,9 +1009,9 @@ 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;
-- 
2.8.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-07-01  2:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-27 11:07 [PATCH][V2] powerpc/fadump: trivial fix of spelling mistake, clean up message Colin King
2016-06-30 12:36 ` [V2] " Michael Ellerman
2016-07-01  2:31 ` [PATCH] powerpc/fadump: Fix compile error due to missing semicolon Ian Munsie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).