Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756817AbYLaSzc (ORCPT ); Wed, 31 Dec 2008 13:55:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756173AbYLaSzT (ORCPT ); Wed, 31 Dec 2008 13:55:19 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:47859 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756153AbYLaSzR (ORCPT ); Wed, 31 Dec 2008 13:55:17 -0500 Date: Wed, 31 Dec 2008 10:54:25 -0800 From: Andrew Morton To: Linus Torvalds Cc: Roland Dreier , Ingo Molnar , Ian Campbell , Jeremy Fitzhardinge , Helge Deller , Rusty Russell , linux-parisc , Linux Kernel Development , Kyle McMartin , Randolph Chung , Sam Ravnborg , John David Anglin Subject: Re: [PATCH] parisc: fix module loading failure of large kernel modules (take 4) Message-Id: <20081231105425.9ccac21d.akpm@linux-foundation.org> In-Reply-To: References: <4959346E.7060600@gmx.de> <200812310915.41693.rusty@rustcorp.com.au> <495B5806.3080505@gmx.de> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.5; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1543 Lines: 39 On Wed, 31 Dec 2008 09:47:19 -0800 (PST) Linus Torvalds wrote: > > > (I just notice this because I saw the warning about swiotlb_alloc_boot() > > not being __init but calling __alloc_bootmem_low and so I looked at the > > code yesterday) > > Lucky us. What's nasty about this is that most developers probably have > updated versions of gcc, and are then surprised when some odd user has > insane behavior that doesn't match the source code - because the compiler > did something unexpected. Adrian claimed that it was gcc-4.1.0 and 4.1.1 only. He proposed banning them: http://lkml.org/lkml/2008/8/5/444 > I guess I could make a sparse rule for this, but nobody seems to run or > care about sparse anyway. Sad. No, there are some people who regularly run sparse and fix stuff. Pending things here include: y:/usr/src/25> grep sparse series input-ads7846c-sparse-lock-annotation.patch hugetlb-fix-sparse-warnings.patch lib-fix-sparse-shadowed-variable-warning.patch lib-proportionsc-trivial-sparse-lock-annotation.patch nvidia-fix-sparse-warnings.patch viafb-fix-sparse-warnings.patch pm3fb-fix-sparse-warning.patch neofb-fix-sparse-warnings.patch i810-fix-sparse-warnings.patch intelfb-fix-sparse-warnings.patch Which is a good way for it to be used. -- 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/