[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061108222046.GE4972@martell.zuzino.mipt.ru>
Date: Thu, 9 Nov 2006 01:20:46 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: Dave Jones <davej@...hat.com>,
Randy Dunlap <randy.dunlap@...cle.com>,
Andrew Morton <akpm@...l.org>,
Dave Jones <davej@...emonkey.org.uk>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] gx-suspmod: fix "&& 0xff" typo
> > > - params->pci_rev = class_rev && 0xff;
> > > + params->pci_rev = class_rev & 0xff;
> >
> > Hi,
> > any kind of automated detection on that one?
>
> grep -r "&& 0x" . seems to be pretty effective modulo
> some false-positives.
Obligatory nit-picking:
grep '&&[ ]*0[xX][fF]' -r .
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists