werror: fix pci calgary
commit85d577979a8a94a32ca1d828a91c2eb8300bc9f2
authorDavid Howells <dhowells@redhat.com>
Mon, 18 Aug 2008 09:58:17 +0000 (18 11:58 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 21 Aug 2008 07:55:47 +0000 (21 09:55 +0200)
tree2ed7e2fcb462ac65665583efe9467805263304e8
parent80a8c9fffa78f57d7d4351af2f15a56386805ceb
werror: fix pci calgary

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>
arch/x86/kernel/pci-calgary_64.c