Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 258997
b: refs/heads/master
c: ae891a1
h: refs/heads/master
i:
  258995: f5ab6b1
v: v3
  • Loading branch information
Maxin B John authored and Linus Torvalds committed Jul 26, 2011
1 parent e0a6d99 commit dbec7d6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 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: 5190f0c030f46b3169205f34f6d9ef480fa39ef2
refs/heads/master: ae891a1b93bf62e9aaa116a7a71312375047fc9f
2 changes: 1 addition & 1 deletion trunk/kernel/irq/devres.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ void devm_free_irq(struct device *dev, unsigned int irq, void *dev_id)
{
struct irq_devres match_data = { irq, dev_id };

free_irq(irq, dev_id);
WARN_ON(devres_destroy(dev, devm_irq_release, devm_irq_match,
&match_data));
free_irq(irq, dev_id);
}
EXPORT_SYMBOL(devm_free_irq);
2 changes: 1 addition & 1 deletion trunk/lib/devres.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ EXPORT_SYMBOL(devm_ioremap_nocache);
*/
void devm_iounmap(struct device *dev, void __iomem *addr)
{
iounmap(addr);
WARN_ON(devres_destroy(dev, devm_ioremap_release, devm_ioremap_match,
(void *)addr));
iounmap(addr);
}
EXPORT_SYMBOL(devm_iounmap);

Expand Down
2 changes: 1 addition & 1 deletion trunk/mm/dmapool.c
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ void dmam_pool_destroy(struct dma_pool *pool)
{
struct device *dev = pool->dev;

dma_pool_destroy(pool);
WARN_ON(devres_destroy(dev, dmam_pool_release, dmam_pool_match, pool));
dma_pool_destroy(pool);
}
EXPORT_SYMBOL(dmam_pool_destroy);

0 comments on commit dbec7d6

Please sign in to comment.