projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc: Fix a number of sparse warnings
[linux-2.6-block.git]
/
arch
/
powerpc
/
kernel
/
pci_64.c
diff --git
a/arch/powerpc/kernel/pci_64.c
b/arch/powerpc/kernel/pci_64.c
index 2e8629654ca872443e89e30455b05f54c1850eb0..cdf5aa1411bf342933836ce445f874a7276c2297 100644
(file)
--- a/
arch/powerpc/kernel/pci_64.c
+++ b/
arch/powerpc/kernel/pci_64.c
@@
-109,7
+109,7
@@
int pcibios_unmap_io_space(struct pci_bus *bus)
hose = pci_bus_to_host(bus);
/* Check if we have IOs allocated */
- if (hose->io_base_alloc ==
0
)
+ if (hose->io_base_alloc ==
NULL
)
return 0;
pr_debug("IO unmapping for PHB %s\n", hose->dn->full_name);