From patchwork Wed Jun 15 15:45:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9178903 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C4A05604DB for ; Wed, 15 Jun 2016 15:50:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B3D6F27DA4 for ; Wed, 15 Jun 2016 15:50:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A718D27E5A; Wed, 15 Jun 2016 15:50:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4792627DA4 for ; Wed, 15 Jun 2016 15:50:45 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1B2196E98E; Wed, 15 Jun 2016 15:50:43 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) by gabe.freedesktop.org (Postfix) with ESMTPS id DBD436E997 for ; Wed, 15 Jun 2016 15:50:39 +0000 (UTC) Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue102) with ESMTPA (Nemesis) id 0LjaQK-1bokfH2oeW-00bXzY; Wed, 15 Jun 2016 17:44:31 +0200 From: Arnd Bergmann To: Michal Marek Subject: [PATCH v2 11/11] [EXPERIMENTAL] Kbuild: enable -Wmissing-include-dirs by default Date: Wed, 15 Jun 2016 17:45:53 +0200 Message-Id: <20160615154553.3177021-12-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160615154553.3177021-1-arnd@arndb.de> References: <20160615154553.3177021-1-arnd@arndb.de> X-Provags-ID: V03:K0:QrEUWbdl5wK19V9hH6cY1v/hAIq4KlSxtkNB9Kj1OfnBpXQx3// N4XNhscT4PM/SxZvdDAe68GXRlquyng2gw3qeQGHBo+ojMegJ36vkwFdcnCPpgcMjmF4NEY R9TaZNipoTKGwYAs7aMDf0la/5IFx/5L+C/Bg5Sa20+8udvBsts9R9vOQNY7zSc4Ys+8jaO eWCG6GvkNMLySjRyOsMAg== X-UI-Out-Filterresults: notjunk:1; V01:K0:f3mPtpvB330=:Up6ctS0lQgqqiUvrq4mZyj auDGNUs3a7nIJa8ehEoK+9xydXmIog9EG1fVPcpn6uxlhu+kppiNVnUKL4D93HshN5A87gRk6 sDt2SrK89/ls4tLFdTHX0F1AKB808NvkB9D0oM3DDRFt/6zn8wuZJ5yqb6wFFtwUQwvQjsrlv M3GYlKtuOqD1JTMeAHg80lU0Ulgizce0TnCcrYSxtaSrtMgNT7DMOdE1yrvYFC/QJ7geouROm ON89jKXuMWvcBUBeq39/nNcWr5l0obvbwAg8lLd2LWEM5qji8vBJhIJFXrbm8jNDCMsR7SV9S 9dYJS2/bjnmUMLgC1Q+rTxcKEysBEW2m9oGrA3an0CWIo/4iRoWoPH7uC4TpqfSCdjLAum0Xv hukJ1h2GlFtIlaIClU3nh4k8AvsdQYwA61/ymDvoZqXL/mvdvPPfQdOyeDI9exfNEJN/UXMxe CQq281/KFRuqA5fHA7YTCVSth91eGvufbSsvoR2uxRqyZ2ZK4+ecYF2tEPL4jJsFFEPdn8czm XCNAO3X0mpbCx/TWDsTRvoP5bUPCWxkLf64zmhKH7fylzyKbEBY4djwzyWO5J2Rq3fEIXB20K Ngd00kD3tF2HUx47F+s90sGxPHv7rXbu9EyZ8r1ROnyBFSL0Rl+8YRUeg/wuIoGKCGKPpbkN5 nHmEuRzO9CrW9Lb4VkBHeKhueq/9MTqRfdi536amANhJlJClT2K/c9tb1dpOBbXe9rBQ= Cc: Arnd Bergmann , linux-kbuild@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP I have fixed up all -Wmissing-include-dirs on ARM randconfig builds, so we could make this the default, but I have not tested this at all on other architectures. This enables it anyway, just to see what other warnings we get when the build bot analyses the branch. Don't apply (yet). Signed-off-by: Arnd Bergmann --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 969924783543..2305cbd61e60 100644 --- a/Makefile +++ b/Makefile @@ -781,6 +781,9 @@ endif NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include) CHECKFLAGS += $(NOSTDINC_FLAGS) +# warn about incorrect -I include paths +KBUILD_CFLAGS += -Wmissing-include-dirs + # warn about C99 declaration after statement KBUILD_CFLAGS += $(call cc-option,-Wdeclaration-after-statement,)