diff options
Diffstat (limited to 'arch/arm/mm/dma-mapping.c')
-rw-r--r-- | arch/arm/mm/dma-mapping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c index 051204fc4617..e59c4ab71bcb 100644 --- a/arch/arm/mm/dma-mapping.c +++ b/arch/arm/mm/dma-mapping.c | |||
@@ -489,7 +489,7 @@ static bool __in_atomic_pool(void *start, size_t size) | |||
489 | void *pool_start = pool->vaddr; | 489 | void *pool_start = pool->vaddr; |
490 | void *pool_end = pool->vaddr + pool->size; | 490 | void *pool_end = pool->vaddr + pool->size; |
491 | 491 | ||
492 | if (start < pool_start || start > pool_end) | 492 | if (start < pool_start || start >= pool_end) |
493 | return false; | 493 | return false; |
494 | 494 | ||
495 | if (end <= pool_end) | 495 | if (end <= pool_end) |