projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: firewire-tascam: off by one in identify_model()
[deliverable/linux.git]
/
mm
/
dmapool.c
diff --git
a/mm/dmapool.c
b/mm/dmapool.c
index 71a8998cd03a6b8b0d2dbfe36a24ce70766047e8..312a716fa14c2ef0d2780832bc378c05a3d08d16 100644
(file)
--- a/
mm/dmapool.c
+++ b/
mm/dmapool.c
@@
-394,7
+394,7
@@
static struct dma_page *pool_find_page(struct dma_pool *pool, dma_addr_t dma)
list_for_each_entry(page, &pool->page_list, page_list) {
if (dma < page->dma)
continue;
- if (
dma < (page->dma + pool->allocation)
)
+ if (
(dma - page->dma) < pool->allocation
)
return page;
}
return NULL;
This page took
0.035485 seconds
and
5
git commands to generate.