|
@@ -245,7 +245,7 @@ static void put_hash_bucket(struct hash_bucket *bucket,
|
|
|
|
|
|
static bool exact_match(struct dma_debug_entry *a, struct dma_debug_entry *b)
|
|
static bool exact_match(struct dma_debug_entry *a, struct dma_debug_entry *b)
|
|
{
|
|
{
|
|
- return ((a->dev_addr == a->dev_addr) &&
|
|
|
|
|
|
+ return ((a->dev_addr == b->dev_addr) &&
|
|
(a->dev == b->dev)) ? true : false;
|
|
(a->dev == b->dev)) ? true : false;
|
|
}
|
|
}
|
|
|
|
|