Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41223
b: refs/heads/master
c: 039d09a
h: refs/heads/master
i:
  41221: 7238cb1
  41219: 90fea0e
  41215: a7d6345
v: v3
  • Loading branch information
Amol Lad authored and Greg Kroah-Hartman committed Dec 1, 2006
1 parent cedb6f8 commit 996203d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7edab2f0876ff6a38e10a88c9aca20180aad307c
refs/heads/master: 039d09a845209122c5193e650ab2d8b3c849ca7c
4 changes: 3 additions & 1 deletion trunk/arch/i386/kernel/pci-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ EXPORT_SYMBOL(dma_free_coherent);
int dma_declare_coherent_memory(struct device *dev, dma_addr_t bus_addr,
dma_addr_t device_addr, size_t size, int flags)
{
void __iomem *mem_base;
void __iomem *mem_base = NULL;
int pages = size >> PAGE_SHIFT;
int bitmap_size = (pages + 31)/32;

Expand Down Expand Up @@ -114,6 +114,8 @@ int dma_declare_coherent_memory(struct device *dev, dma_addr_t bus_addr,
free1_out:
kfree(dev->dma_mem->bitmap);
out:
if (mem_base)
iounmap(mem_base);
return 0;
}
EXPORT_SYMBOL(dma_declare_coherent_memory);
Expand Down

0 comments on commit 996203d

Please sign in to comment.