From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751478AbdFEJHd (ORCPT ); Mon, 5 Jun 2017 05:07:33 -0400 Received: from terminus.zytor.com ([65.50.211.136]:41059 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751272AbdFEJHc (ORCPT ); Mon, 5 Jun 2017 05:07:32 -0400 Date: Mon, 5 Jun 2017 02:02:52 -0700 From: tip-bot for Ben Hutchings Message-ID: Cc: linux-kernel@vger.kernel.org, tglx@linutronix.de, peterz@infradead.org, mingo@kernel.org, hpa@zytor.com, torvalds@linux-foundation.org, sasha.levin@oracle.com, ben@decadent.org.uk Reply-To: torvalds@linux-foundation.org, sasha.levin@oracle.com, ben@decadent.org.uk, linux-kernel@vger.kernel.org, tglx@linutronix.de, peterz@infradead.org, hpa@zytor.com, mingo@kernel.org In-Reply-To: <20170525130005.5947-5-alexander.levin@verizon.com> References: <20170525130005.5947-5-alexander.levin@verizon.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:locking/core] tools/lib/lockdep: Enable -Wall by default Git-Commit-ID: db8f7796c491a7b0a220a89a4abd9134f3906f43 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: db8f7796c491a7b0a220a89a4abd9134f3906f43 Gitweb: http://git.kernel.org/tip/db8f7796c491a7b0a220a89a4abd9134f3906f43 Author: Ben Hutchings AuthorDate: Thu, 25 May 2017 12:58:36 +0000 Committer: Ingo Molnar CommitDate: Mon, 5 Jun 2017 09:28:04 +0200 tools/lib/lockdep: Enable -Wall by default Regressions in liblockdep may be missed because it doesn't enable warnings. Adding -Wall immediately introduces a lot of warnings, but those will be fixed by the following commits. Signed-off-by: Ben Hutchings Signed-off-by: Sasha Levin Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: a.p.zijlstra@chello.nl Link: http://lkml.kernel.org/r/20170525130005.5947-5-alexander.levin@verizon.com Signed-off-by: Ingo Molnar --- tools/lib/lockdep/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/lib/lockdep/Makefile b/tools/lib/lockdep/Makefile index 3bc0ef9..98d8a5ae 100644 --- a/tools/lib/lockdep/Makefile +++ b/tools/lib/lockdep/Makefile @@ -79,6 +79,7 @@ INCLUDES = -I. -I./uinclude -I./include -I../../include $(CONFIG_INCLUDES) # Set compile option CFLAGS if not set elsewhere CFLAGS ?= -g -DCONFIG_LOCKDEP -DCONFIG_STACKTRACE -DCONFIG_PROVE_LOCKING -DBITS_PER_LONG=__WORDSIZE -DLIBLOCKDEP_VERSION='"$(LIBLOCKDEP_VERSION)"' -rdynamic -O0 -g CFLAGS += -fPIC +CFLAGS += -Wall override CFLAGS += $(CONFIG_FLAGS) $(INCLUDES) $(PLUGIN_DIR_SQ)