From: akpm@linux-foundation.org Subject: [merged] fs-fat-cleanup-string-initializations-char-instead-of-char.patch removed from -mm tree Date: Mon, 09 Jun 2014 12:33:07 -0700 Message-ID: <53960bf3.wORiYWkYbcZASWL+%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Mime-Version: 1.0 Content-Type: application/octet-stream Content-Transfer-Encoding: 8bit Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:53967 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750822AbaFITdI (ORCPT ); Mon, 9 Jun 2014 15:33:08 -0400 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: mm-commits@vger.kernel.org, hirofumi@mail.parknet.co.jp, manuel.schoelling@gmx.de Subject: [merged] fs-fat-cleanup-string-initializations-char-instead-of-char.patch removed from -mm tree To: manuel.schoelling@gmx.de,hirofumi@mail.parknet.co.jp,mm-commits@vger.kernel.org From: akpm@linux-foundation.org Date: Mon, 09 Jun 2014 12:33:07 -0700 The patch titled Subject: fs/fat/inode.c: clean up string initializations (char[] instead of char *) has been removed from the -mm tree. Its filename was fs-fat-cleanup-string-initializations-char-instead-of-char.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Manuel Schölling Subject: fs/fat/inode.c: clean up string initializations (char[] instead of char *) Initializations like 'char *foo = "bar"' will create two variables: a static string and a pointer (foo) to that static string. Instead 'char foo[] = "bar"' will declare a single variable and will end up in shorter assembly (according to Jeff Garzik on the KernelJanitor's TODO list). Signed-off-by: Manuel Schölling Acked-by: OGAWA Hirofumi Signed-off-by: Andrew Morton --- fs/fat/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/fat/inode.c~fs-fat-cleanup-string-initializations-char-instead-of-char fs/fat/inode.c --- a/fs/fat/inode.c~fs-fat-cleanup-string-initializations-char-instead-of-char +++ a/fs/fat/inode.c @@ -421,7 +421,7 @@ struct inode *fat_iget(struct super_bloc static int is_exec(unsigned char *extension) { - unsigned char *exe_extensions = "EXECOMBAT", *walk; + unsigned char exe_extensions[] = "EXECOMBAT", *walk; for (walk = exe_extensions; *walk; walk += 3) if (!strncmp(extension, walk, 3)) _ Patches currently in -mm which might be from manuel.schoelling@gmx.de are origin.patch linux-next.patch