Re: [PATCH] drivers: staging: speakup: fix sparse "warning: expression using sizeof bool"

From: Sudip Mukherjee
Date: Mon Mar 30 2015 - 02:20:10 EST


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 <pwitos@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/