All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrey Skvortsov <andrej.skvortzov@gmail.com>
To: David Woodhouse <dwmw2@infradead.org>,
	linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org
Cc: Andrey Skvortsov <andrej.skvortzov@gmail.com>
Subject: [PATCH] jffs2: fix UTF-8 character in pr_info
Date: Tue, 28 Apr 2015 23:54:05 +0300	[thread overview]
Message-ID: <1430254445-32676-1-git-send-email-andrej.skvortzov@gmail.com> (raw)

Boot log contained string:
jffs2: version 2.2. \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.

non-ASCII characters are printed in HEX. 0xC2A9 is copyright sign in UTF-8.
This patch replace it with '(c)' to make boot log readable.

Signed-off-by: Andrey Skvortsov <andrej.skvortzov@gmail.com>
---
 fs/jffs2/super.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/jffs2/super.c b/fs/jffs2/super.c
index 3d76f28..763a3dc 100644
--- a/fs/jffs2/super.c
+++ b/fs/jffs2/super.c
@@ -382,7 +382,7 @@ static int __init init_jffs2_fs(void)
 #ifdef CONFIG_JFFS2_SUMMARY
 	       " (SUMMARY) "
 #endif
-	       " © 2001-2006 Red Hat, Inc.\n");
+	       " (c) 2001-2006 Red Hat, Inc.\n");
 
 	jffs2_inode_cachep = kmem_cache_create("jffs2_i",
 					     sizeof(struct jffs2_inode_info),
-- 
2.1.4


             reply	other threads:[~2015-04-28 20:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-28 20:54 Andrey Skvortsov [this message]
2015-04-28 21:07 ` [PATCH] jffs2: fix UTF-8 character in pr_info Richard Weinberger
2015-04-28 21:07   ` Richard Weinberger
2015-04-30 20:41   ` Andrey Skvortsov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1430254445-32676-1-git-send-email-andrej.skvortzov@gmail.com \
    --to=andrej.skvortzov@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.