From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754724AbdERARl (ORCPT ); Wed, 17 May 2017 20:17:41 -0400 Received: from omzsmtpe02.verizonbusiness.com ([199.249.25.209]:31868 "EHLO omzsmtpe02.verizonbusiness.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754472AbdERARg (ORCPT ); Wed, 17 May 2017 20:17:36 -0400 X-IronPort-Anti-Spam-Filtered: false X-IronPort-AV: E=Sophos;i="5.38,356,1491264000"; d="scan'208";a="1447465706" From: alexander.levin@verizon.com X-Host: ranger.odc.vzwcorp.com To: "mingo@kernel.org" CC: "ben@decadent.org.uk" , "linux-kernel@vger.kernel.org" Subject: [PATCH 04/15] liblockdep: Enable -Wall by default Thread-Topic: [PATCH 04/15] liblockdep: Enable -Wall by default Thread-Index: AQHSz2nvQXmn+mGsZk6E/8ZwLhTRdQ== Date: Thu, 18 May 2017 00:01:44 +0000 Message-ID: <20170518000231.16163-4-alexander.levin@verizon.com> References: <20170518000231.16163-1-alexander.levin@verizon.com> In-Reply-To: <20170518000231.16163-1-alexander.levin@verizon.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.144.60.250] Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id v4I0HulY010173 From: Ben Hutchings 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 --- tools/lib/lockdep/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/lib/lockdep/Makefile b/tools/lib/lockdep/Makefile index 3bc0ef9f8923..98d8a5ae8334 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) -- 2.11.0