mirror of https://lore.kernel.org/lkml/
 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
  0 siblings, 1 reply; 2+ 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	[flat|nested] 2+ messages in thread

* Re: [V2] powerpc/fadump: trivial fix of spelling mistake, clean up message
  2016-06-27 11:07 [PATCH][V2] powerpc/fadump: trivial fix of spelling mistake, clean up message Colin King
@ 2016-06-30 12:36 ` Michael Ellerman
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2016-06-30 12:36 UTC (permalink / raw)
  To: Colin King, Benjamin Herrenschmidt, Paul Mackerras, Jiri Kosina,
	Rasmus Villemoes, Andrew Morton, linuxppc-dev
  Cc: linux-kernel

On Mon, 2016-27-06 at 11:07:41 UTC, Colin King wrote:
> 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>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/4a03749f140cbee6fee66b674b

cheers

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

end of thread, other threads:[~2016-06-30 12:36 UTC | newest]

Thread overview: 2+ 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®