From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org ([103.22.144.67]:37107 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751265AbbJFCAB (ORCPT ); Mon, 5 Oct 2015 22:00:01 -0400 From: Rusty Russell Subject: Re: [PATCH v2] modpost: Add flag -E for making section mismatches fatal In-Reply-To: <1443807963-36364-1-git-send-email-drinkcat@chromium.org> References: <1443807963-36364-1-git-send-email-drinkcat@chromium.org> Date: Tue, 06 Oct 2015 09:45:06 +1030 Message-ID: <87y4fgnc05.fsf@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Nicolas Boichat , linux-kbuild@vger.kernel.org Cc: Michal Marek , "Paul E . McKenney" , Andrew Morton , Ingo Molnar , Pranith Kumar , Peter Zijlstra , Vladimir Murzin , Davidlohr Bueso , Joonsoo Kim , John Stultz , Jan Kiszka , Quentin Casasnovas , Paul Gortmaker , Chris Metcalf , Takashi Iwai , Kyle McMartin , linux-kernel@vger.kernel.org, Jonathan Kliegman , olofj@chromium.org, Sam Ravnborg Nicolas Boichat writes: > The section mismatch warning can be easy to miss during the kernel build > process. Allow it to be marked as fatal to be easily caught and prevent > bugs from slipping in. > > Setting CONFIG_SECTION_MISMATCH_WARN_ONLY=y causes these warnings to be > non-fatal, since there are a number of section mismatches when using > allmodconfig on some architectures, and we do not want to break these > builds by default. > > Signed-off-by: Nicolas Boichat > > Change-Id: Ic346706e3297c9f0d790e3552aa94e5cff9897a6 Thanks, applied. Cheers, Rusty. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752100AbbJFCAF (ORCPT ); Mon, 5 Oct 2015 22:00:05 -0400 Received: from ozlabs.org ([103.22.144.67]:37107 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751265AbbJFCAB (ORCPT ); Mon, 5 Oct 2015 22:00:01 -0400 From: Rusty Russell To: Nicolas Boichat , linux-kbuild@vger.kernel.org Cc: Michal Marek , "Paul E . McKenney" , Andrew Morton , Ingo Molnar , Pranith Kumar , Peter Zijlstra , Vladimir Murzin , Davidlohr Bueso , Joonsoo Kim , John Stultz , Jan Kiszka , Quentin Casasnovas , Paul Gortmaker , Chris Metcalf , Takashi Iwai , Nicolas Boichat , Kyle McMartin , linux-kernel@vger.kernel.org, Jonathan Kliegman , olofj@chromium.org, Sam Ravnborg Subject: Re: [PATCH v2] modpost: Add flag -E for making section mismatches fatal In-Reply-To: <1443807963-36364-1-git-send-email-drinkcat@chromium.org> References: <1443807963-36364-1-git-send-email-drinkcat@chromium.org> User-Agent: Notmuch/0.17 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu) Date: Tue, 06 Oct 2015 09:45:06 +1030 Message-ID: <87y4fgnc05.fsf@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Nicolas Boichat writes: > The section mismatch warning can be easy to miss during the kernel build > process. Allow it to be marked as fatal to be easily caught and prevent > bugs from slipping in. > > Setting CONFIG_SECTION_MISMATCH_WARN_ONLY=y causes these warnings to be > non-fatal, since there are a number of section mismatches when using > allmodconfig on some architectures, and we do not want to break these > builds by default. > > Signed-off-by: Nicolas Boichat > > Change-Id: Ic346706e3297c9f0d790e3552aa94e5cff9897a6 Thanks, applied. Cheers, Rusty.