From: akpm@linux-foundation.org Subject: [merged] suppress-warnings-when-compiling-fs-proc-task_mmuc-with-w=1.patch removed from -mm tree Date: Wed, 03 Aug 2016 11:11:36 -0700 Message-ID: <57a233d8.UsyVm9tFQLjrHmWP%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:33450 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755167AbcHCSN0 (ORCPT ); Wed, 3 Aug 2016 14:13:26 -0400 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: Valdis.Kletnieks@vt.edu, valdis.kletnieks@vt.edu, mm-commits@vger.kernel.org The patch titled Subject: fs/proc/task_mmu.c: suppress compilation warnings with W=1 has been removed from the -mm tree. Its filename was suppress-warnings-when-compiling-fs-proc-task_mmuc-with-w=1.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Valdis Kletnieks Subject: fs/proc/task_mmu.c: suppress compilation warnings with W=1 Suppress a bunch of warnings of the form: fs/proc/task_mmu.c: In function 'show_smap_vma_flags': fs/proc/task_mmu.c:635:22: warning: initialized field overwritten [-Wt override-init] [ilog2(VM_READ)] = "rd", ^~~~ fs/proc/task_mmu.c:635:22: note: (near initialization for 'mnemonics[0]') They happen because of the way we intentionally build the table, so silence the warning when building with 'make W=1'. Link: http://lkml.kernel.org/r/8727.1470022083@turing-police.cc.vt.edu Signed-off-by: Valdis Kletnieks Signed-off-by: Andrew Morton --- fs/proc/Makefile | 1 + 1 file changed, 1 insertion(+) diff -puN fs/proc/Makefile~suppress-warnings-when-compiling-fs-proc-task_mmuc-with-w=1 fs/proc/Makefile --- a/fs/proc/Makefile~suppress-warnings-when-compiling-fs-proc-task_mmuc-with-w=1 +++ a/fs/proc/Makefile @@ -4,6 +4,7 @@ obj-y += proc.o +CFLAGS_task_mmu.o += -Wno-override-init proc-y := nommu.o task_nommu.o proc-$(CONFIG_MMU) := task_mmu.o _ Patches currently in -mm which might be from Valdis.Kletnieks@vt.edu are