From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755370AbbBFOTS (ORCPT ); Fri, 6 Feb 2015 09:19:18 -0500 Received: from mail-lb0-f171.google.com ([209.85.217.171]:55253 "EHLO mail-lb0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752870AbbBFOTR (ORCPT ); Fri, 6 Feb 2015 09:19:17 -0500 From: Rasmus Villemoes To: David Woodhouse Cc: Rasmus Villemoes , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] fs: jffs2: Remove utf8 from printk string Date: Fri, 6 Feb 2015 15:19:03 +0100 Message-Id: <1423232343-26438-1-git-send-email-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.1.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Any non-ascii characters are escaped before being show to user-space, so this shows up as jffs2: version 2.2. (NAND) \xffffffc2\xffffffa9\xffffffa9 2001-2006 Red Hat, Inc. (I have no idea why the second byte is repeated.) Replace with a widely used ascii replacement. Signed-off-by: Rasmus Villemoes --- Actually, I don't see the value in printing a copyright notice to the kernel log, especially since it's out-of-sync with the one at the top of the file. 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 0918f0e2e266..471b674b6f8a 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.3