Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754093AbaB0BVX (ORCPT ); Wed, 26 Feb 2014 20:21:23 -0500 Received: from terminus.zytor.com ([198.137.202.10]:48032 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751700AbaB0BVW (ORCPT ); Wed, 26 Feb 2014 20:21:22 -0500 User-Agent: K-9 Mail for Android In-Reply-To: References: <530E6F76.1070605@zytor.com> <20140226232859.GA9213@kroah.com> <20140226232954.GA17791@kroah.com> <530E7963.10209@zytor.com> <530E7AAF.3070908@zytor.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: The sheer number of sparse warnings in the kernel From: "H. Peter Anvin" Date: Wed, 26 Feb 2014 17:21:00 -0800 To: Josh Boyer CC: Greg KH , Linux Kernel Mailing List Message-ID: <8e4515ef-9627-4da6-994e-ba14655481c0@email.android.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org That would be good. On February 26, 2014 5:19:51 PM PST, Josh Boyer wrote: >On Wed, Feb 26, 2014 at 6:37 PM, H. Peter Anvin wrote: >> On 02/26/2014 03:31 PM, H. Peter Anvin wrote: >>> On 02/26/2014 03:29 PM, Greg KH wrote: >>>> On Wed, Feb 26, 2014 at 03:28:59PM -0800, Greg KH wrote: >>>>> On Wed, Feb 26, 2014 at 02:49:26PM -0800, H. Peter Anvin wrote: >>>>>> The number of sparse errors in the current kernel is staggering, >and it >>>>>> makes sparse a lot less valuable of a tool that it otherwise >could be. >>>>>> On a build of x86-64 allyesconfig I'm getting 20,676 sparse >messages. >>>>>> Out of those, 12,358 come from linux/err.h. Given that the >latter >>>>>> basically spams *everything*, I can only conclude that almost >noone uses >>>>>> sparse unless they have a filter script. >>>>> >>>>> What errors are you seeing from err.h? I don't see those when >building >>>>> different subdirectories with sparse (which is how I normally use >it.) >>>>> >>>>> And what version of sparse are you running: >>>>> $ sparse --version >>>>> v0.4.5-rc1-407-g345e8943fc36 >>>> >>>> Ah, 0.5.0 is now out, maybe you should update to that version? >>>> >>> >>> Yes... it looks like the 0.4.5-rc1 that shipped in Fedora is indeed >out >>> of date. With 0.5.0 I "only" see 8,207 messages, which means that >at >>> least the linux/err.h issue is gone. >>> >> >> For what it's worth, the rpm is called sparse-0.4.5.rc1-2.fc19.x86_64 >> and sparse --version reports 0.4.4... > >Fedora rawhide has sparse-0.5.0-1.fc21. If it matters, we could >probably update F20 and F19 with that. > >josh -- Sent from my mobile phone. Please pardon brevity and lack of formatting. -- 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/