Re: [2.5 patch] fix buggy comparison in cpqphp_pci.c

From: Greg KH (
Date: Mon Jun 23 2003 - 17:19:14 EST

On Sat, Jun 21, 2003 at 04:21:53PM +0200, Adrian Bunk wrote:
> Hi Greg,
> I don't understand the code good enough to be sure my patch is correct,
> but the current code is definitely buggy:
> 0xFF is the maximum value for an u8, so tdevice < 0x100 is _always_
> true.

Nice catch, I've applied this.


greg k-h
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Jun 23 2003 - 22:00:42 EST