Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1431937

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

From Colin King <colin.king@canonical.com>
Newsgroups linux.kernel
Subject [PATCH][V2] powerpc/fadump: trivial fix of spelling mistake, clean up message
Date 2016-06-27 13:10 +0200
Message-ID <rOCAq-7Tb-39@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH][V2] powerpc/fadump: trivial fix of spelling mistake, clean up message Colin King <colin.king@canonical.com> - 2016-06-27 13:10 +0200
  Re: [V2] powerpc/fadump: trivial fix of spelling mistake, clean up message Michael Ellerman <mpe@ellerman.id.au> - 2016-06-30 14:40 +0200

csiph-web