Re: pci_size() error condition

From: Ivan Kokshaysky
Date: Wed Jul 13 2005 - 18:49:03 EST


On Wed, Jul 13, 2005 at 05:53:13PM -0500, John Rose wrote:
> Before a recent change, mask was a 64-bit number. The second part of
> the if statement would always resolve to true, since the 32-bit bitop
> would never equal the 64-bit mask. So the second part of the if
> statement was ineffectual up until very recently.

It was always effectual for IO where the mask is 0xffff.

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