Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934857AbXFFS3s (ORCPT ); Wed, 6 Jun 2007 14:29:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759067AbXFFS3l (ORCPT ); Wed, 6 Jun 2007 14:29:41 -0400 Received: from mga03.intel.com ([143.182.124.21]:12649 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757949AbXFFS3k (ORCPT ); Wed, 6 Jun 2007 14:29:40 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.16,390,1175497200"; d="scan'208";a="236310343" Message-ID: <4666FD0A.4060609@intel.com> Date: Wed, 06 Jun 2007 11:29:30 -0700 From: "Kok, Auke" User-Agent: Thunderbird 2.0.0.0 (X11/20070420) MIME-Version: 1.0 To: Linux Kernel Mailing List CC: Al Viro , Linus Torvalds , Josh Triplett Subject: generic bool and sparse errors? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 06 Jun 2007 18:29:30.0604 (UTC) FILETIME=[9F4D0AC0:01C7A868] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 945 Lines: 24 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. 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. Cheers, Auke - 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/