werror: fix pci calgary
authorDavid Howells <dhowells@redhat.com>
Mon, 18 Aug 2008 09:58:17 +0000 (11:58 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 21 Aug 2008 07:55:47 +0000 (09:55 +0200)
Fix an integer comparison always false warning in the PCI Calgary 64 driver.

A u8 is being compared to something that's 512 by default, resulting in the
following warning:

arch/x86/kernel/pci-calgary_64.c:1285: warning: comparison is always false due to limited range of data type

This was introduced by patch b34e90b8f0f30151349134f87b5dc6ef75a5218c.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found