Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932716AbYBANkt (ORCPT ); Fri, 1 Feb 2008 08:40:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758074AbYBANkk (ORCPT ); Fri, 1 Feb 2008 08:40:40 -0500 Received: from pasmtpb.tele.dk ([80.160.77.98]:56330 "EHLO pasmtpB.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755909AbYBANkj (ORCPT ); Fri, 1 Feb 2008 08:40:39 -0500 Date: Fri, 1 Feb 2008 14:40:41 +0100 From: Sam Ravnborg To: Geert Uytterhoeven Cc: Harvey Harrison , Andrew Morton , LKML , linux arch , James Bottomley Subject: Re: Are Section mismatches out of control? Message-ID: <20080201134041.GC13349@uranus.ravnborg.org> References: <20080201104718.GA11717@uranus.ravnborg.org> <20080201030329.9b760777.akpm@linux-foundation.org> <1201864894.23523.117.camel@brick> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1960 Lines: 46 On Fri, Feb 01, 2008 at 02:30:44PM +0100, Geert Uytterhoeven wrote: > On Fri, 1 Feb 2008, Harvey Harrison wrote: > > On Fri, 2008-02-01 at 03:03 -0800, Andrew Morton wrote: > > > On Fri, 1 Feb 2008 11:47:18 +0100 Sam Ravnborg wrote: > > > > James said in a related posting that the Section mismatch > > > > warnings were getting out of control. > > > > > > eh. They're easy - the build system tells you about them! > > > > > > > The list is here: > > > > > > Question is: why do people keep adding new ones when they are so easy to > > > detect and fix? > > > > > > Asnwer: because neither they nor their patch integrators are doing adequate > > > compilation testing. > > > > Because if there already exists more than a handful peoples' eyes glaze > > over and ignore "just one more warning" > > Yes. > > > Unless they break the build, or if there currently are 0 and they make > > it non-zero, people seem not to care....sad. Probably the same for > > sparse/checkpatch, "there's plenty already, I can't be bothered to look" > > And before, the actual warnings depended a lot on the kernel > configuration, so making the build break was less of an option. > If Sam's improved section mismatch detection turns out to work fine, we > can fix the issues and start to enable breaking of the build in case of > warnings. > > BTW, on m68k I get ca. 160 of them. Most seem to originate in > drivers/isdn/. Doesn't look unsurmountable compared to the number of > other compile warnings fixed during the last few years ;-) Can you try the patchset I will post in a minute. Would be nice to know if you see additional warnings as I got isdn clean here with x86 - 64 bit - allyesconfig. Sam -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/