Merge tag 'v4.1-rockchip-socfixes1' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-block.git] / lib / dma-debug.c
index 9722bd2dbc9bd5782e867c72f8b6893f9ab2c5ab..ae4b65e17e6486c7431fdc39335eab4cb15a0539 100644 (file)
@@ -361,7 +361,7 @@ static struct dma_debug_entry *bucket_find_contain(struct hash_bucket **bucket,
        unsigned int range = 0;
 
        while (range <= max_range) {
-               entry = __hash_bucket_find(*bucket, &index, containing_match);
+               entry = __hash_bucket_find(*bucket, ref, containing_match);
 
                if (entry)
                        return entry;