Merge branch 'for-linus-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/mason...
[cascardo/linux.git] / lib / dma-debug.c
index 9722bd2..ae4b65e 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;