git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
patch-2_6_7-vs1_9_1_12
[linux-2.6.git]
/
arch
/
ppc64
/
kernel
/
iommu.c
diff --git
a/arch/ppc64/kernel/iommu.c
b/arch/ppc64/kernel/iommu.c
index
fb32102
..
5cac0d2
100644
(file)
--- a/
arch/ppc64/kernel/iommu.c
+++ b/
arch/ppc64/kernel/iommu.c
@@
-491,7
+491,7
@@
void *iommu_alloc_consistent(struct iommu_table *tbl, size_t size,
*/
if (order >= IOMAP_MAX_ORDER) {
printk("iommu_alloc_consistent size too large: 0x%lx\n", size);
- return
(void *)DMA_ERROR_CODE
;
+ return
NULL
;
}
if (!tbl)