Re: [PATCH] staging: &&/|| typo

From: Greg KH
Date: Tue Feb 17 2009 - 21:08:18 EST


On Sun, Feb 15, 2009 at 11:36:54AM -0800, Roland Dreier wrote:
> > - if(fifo_size != 0x400 || fifo_size != 0x2000)
> > + if(fifo_size != 0x400 && fifo_size != 0x2000)
>
> What does the presence of this bug say about the probability that this
> code has ever been used for anything real?

With the comedi drivers, I really don't know, they have not had that
much wide exposure before, despite being around for a very long time.

thanks,

greg k-h
--
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/