Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935569AbXFFTVy (ORCPT ); Wed, 6 Jun 2007 15:21:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S935320AbXFFTTH (ORCPT ); Wed, 6 Jun 2007 15:19:07 -0400 Received: from gepetto.dc.ltu.se ([130.240.42.40]:53294 "EHLO gepetto.dc.ltu.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935411AbXFFTTB (ORCPT ); Wed, 6 Jun 2007 15:19:01 -0400 Message-ID: <466708D8.90208@student.ltu.se> Date: Wed, 06 Jun 2007 21:19:52 +0200 From: Richard Knutsson User-Agent: Thunderbird 1.5.0.12 (X11/20070530) MIME-Version: 1.0 To: "Kok, Auke" CC: Linux Kernel Mailing List , Al Viro , Linus Torvalds , Josh Triplett Subject: Re: generic bool and sparse errors? References: <4666FD0A.4060609@intel.com> In-Reply-To: <4666FD0A.4060609@intel.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1219 Lines: 30 Kok, Auke wrote: > > I'm experimenting with using the generic bool type and using sparse I > get tons of these messages: > > warning: incorrect type in argument 4 (different signedness) > expected bool [unsigned] [usertype] *[unsigned] success > got bool * > > I'm not really worried about this, I assume that sparse hasn't caught > up with what bool really means, but perhaps this can be looked into by > someone who knows sparse well. The warnings don't really add up and > with more people switching to use the generic bool this may beceome > unwanted. Actually, I am "assigned" to that. :) Just out of curiousity, where do you see those messages? In the log for allyesconfig on i386 I only found ntfs/super.c with similar output. > > alternatively we might need to reconsider the `typedef _Bool bool;` > declaration and force it to be unsigned. I'm not sure what to think of > that. I do not see how that would make any sense. Richard Knutsson - 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/