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: 9178867 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 1EA3F604DB for ; Wed, 15 Jun 2016 15:47:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0E97127DA4 for ; Wed, 15 Jun 2016 15:47:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0382A27EED; Wed, 15 Jun 2016 15:47:27 +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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 13E0727DA4 for ; Wed, 15 Jun 2016 15:47:26 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1bDD18-0000DA-K7; Wed, 15 Jun 2016 15:46:10 +0000 Received: from mout.kundenserver.de ([212.227.17.10]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1bDD03-0006Vt-0C for linux-arm-kernel@lists.infradead.org; Wed, 15 Jun 2016 15:45:05 +0000 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:hQxMsA0gs8w=:n0d7MxEUop5GT2vhHgIMP3 aEgmeq9bVxeyaLa9kHtYENZRF8iBatD0wmxL7lxWzXWeBbmAJRFxGoGDKFrr3yp4Pug2m/e1A OYBLeGP0s5S+B6qC1Bc38QSO5z9pP+D8EbKwSsUnef1hZY5FAJGrWTlGRjS3K3m5UM9albI4M YQjYY3WM15dlqaQvzKYQ0XeqVn0DZ03I6gEMpyKiyzRPtgTgWnPe8p4iYR3/dgbPI5OQMx5/D SoIgfGciO+0L0G2NUhMwtvIy81zhS42iPt3WYp78zHOdRjPaKj+jeFIxcld2+VPuofoCabqIp yuRLDDX29LJ7SqycMoKg954U63Qtl3wNowKK5jPxbD2Gkgm3iqrKpyB5LzB90d1pxg8ZBU1Ra tNKiueuF7atulBc16L0g+EHm2J2Ufw7q/TXgujGQ47hrcwukRfzVQry/Y9Ui4ineQyf8LD36K edHk2FnVNBlj+68YM6XUSb1pwrQViqrTqxoq4cIQlQIcJ8OyvxFu0E1oXq2t5uge60lpzj0ZG XGXdiV/cBFEln6PefQrCLqwoVWqURq/s22qkgtTHyUiC5G1wiyYw0PJXWA2NN6LRZ6ClvRlSR xtzK9bCByhA6nkJc3Ew9MxIR/snY1SL8QCjIy9hEreO3WyY9YVSdYrVOOg5CsbaR8KoFWBVaP WynC8vxzQ+SYVCYywDDzDTeOii5BP/H6g4V2VTPcs5w0MYkgrBxfTOHzwCg8UqVBTosM= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160615_084503_576773_BA1AD407 X-CRM114-Status: GOOD ( 10.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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,)