From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cantor2.suse.de ([195.135.220.15]:43953 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752810AbaHSHAw (ORCPT ); Tue, 19 Aug 2014 03:00:52 -0400 Message-ID: <53F2F622.2020908@suse.cz> Date: Tue, 19 Aug 2014 09:00:50 +0200 From: Michal Marek MIME-Version: 1.0 Subject: Re: [PATCH] kbuild: fix bug with modpost Makefile warn flag inclusion References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Mike Ton Cc: linux-kbuild@vger.kernel.org On 2014-08-18 21:52, Mike Ton wrote: > From: Michael Ton > > > The current Makefile.modpost file includes a warn (-w) flag to modpost > if KBUILD_EXTMOD or KBUILD_MODPOST_WARN. This flag should only be added > if both flags are true. Why? > Whenever KBUILD_MODPOST is true, modpost > currently only prints warnings and does not exit on error (such as on an > undefined symbol). Yes, that's what Documentation/kbuild/kbuild.txt and the comment at the beginning of the Makefile say. Michal