From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752809AbbC3GUG (ORCPT ); Mon, 30 Mar 2015 02:20:06 -0400 Received: from mail-pa0-f48.google.com ([209.85.220.48]:32793 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751375AbbC3GUC (ORCPT ); Mon, 30 Mar 2015 02:20:02 -0400 Date: Mon, 30 Mar 2015 11:49:53 +0530 From: Sudip Mukherjee To: Piotr =?utf-8?Q?Witos=C5=82awski?= Cc: William Hubbs , Chris Brannon , Kirk Reiser , Samuel Thibault , Greg Kroah-Hartman , speakup@linux-speakup.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, trivial@kernel.org Subject: Re: [PATCH] drivers: staging: speakup: fix sparse "warning: expression using sizeof bool" Message-ID: <20150330061953.GB6989@sudip-PC> References: <20150327203607.GA10456@witos-linux> <20150328062640.GB3424@sudip-PC> <20150328075701.GA5241@witos-linux> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20150328075701.GA5241@witos-linux> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 28, 2015 at 08:57:01AM +0100, Piotr Witosławski wrote: > On Sat, Mar 28, 2015 at 11:56:40AM +0530, Sudip Mukherjee wrote: > > On Fri, Mar 27, 2015 at 09:36:07PM +0100, Witos wrote: > > > Changed bool to u8 to get rid of sparse warning. > > but i am not getting this warning. which version of sparse are you > > using? > > sparse 0.5.0, see: http://yarchive.net/comp/linux/bool.html looks like you have done quite a lot of research on it .. :) i am using 0.5.0-22-gd92353b, and my sparse is not showing me this warning. regards sudip > > > and why you have sent the same patch two times? > > sorry my mistake, first time I wanted send it to myself, I forgot > that I filled CC list. > > > > > regards > > sudip > > > > > > > > Signed-off-by: Piotr Witoslawski