Re: [PATCH] gx-suspmod: fix "&& 0xff" typo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>  > > -	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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux