Re: drivers: Probable misuses of ||

From: Joe Perches
Date: Fri May 04 2012 - 19:13:46 EST


On Fri, 2012-05-04 at 23:56 +0100, Alan Cox wrote:
> On Fri, 04 May 2012 14:54:37 -0700
> Joe Perches <joe@xxxxxxxxxxx> wrote:
>
> > On Wed, 2012-04-04 at 16:00 -0700, Joe Perches wrote:
> > > Likely these should be && not ||
> > >
> > > drivers/scsi/FlashPoint.c: if(bit_cnt != 0 || bit_cnt != 8)
> >
> > It's been a month.
> >
> > Do you maintainers not care about these obvious defects?
>
> You are assuming the code in question has maintainers.

Nope. I'm assuming the nominal subsystem maintainers
haven't bothered to look at it or are in "don't care"
mode and I am simply prompting people to look again.

Richard Weinberger replied showing that the flashpoint
bit was commented out. Thanks Richard.

cheers, Joe


--
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/