]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitba3e08382a337f3201bbce5e9ed6b2647342a34c
tree2ed7e2fcb462ac65665583efe9467805263304e8
parentcc24757792b6c4032cdd3adf81bea53589a196d1
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 d7b59da7a9201073e314e37ea8610f3e5792eb5b.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/pci-calgary_64.c