Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83155
b: refs/heads/master
c: 6d9f4c5
h: refs/heads/master
i:
  83153: 1b48b00
  83151: 0eda422
v: v3
  • Loading branch information
Julia Lawall authored and Linus Torvalds committed Feb 5, 2008
1 parent 50a6850 commit 9dcfdb7
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: 2d33d563b1e2b4748c585e3169f46481e897c829
refs/heads/master: 6d9f4c5cfb6084c16a800e8a2ca9db8d0859611c
4 changes: 3 additions & 1 deletion trunk/arch/cris/arch-v32/drivers/pci/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ int dma_declare_coherent_memory(struct device *dev, dma_addr_t bus_addr,

dev->dma_mem = kzalloc(sizeof(struct dma_coherent_mem), GFP_KERNEL);
if (!dev->dma_mem)
goto out;
goto iounmap_out;
dev->dma_mem->bitmap = kzalloc(bitmap_size, GFP_KERNEL);
if (!dev->dma_mem->bitmap)
goto free1_out;
Expand All @@ -110,6 +110,8 @@ int dma_declare_coherent_memory(struct device *dev, dma_addr_t bus_addr,

free1_out:
kfree(dev->dma_mem);
iounmap_out:
iounmap(mem_base);
out:
return 0;
}
Expand Down

0 comments on commit 9dcfdb7

Please sign in to comment.