diff options
author | 2011-12-09 08:08:14 -0800 | |
---|---|---|
committer | 2011-12-09 08:08:14 -0800 | |
commit | 592d44a5f8458892c007c61b9cfa677efede5e1e (patch) | |
tree | cec376faf5dd25e1ce89134b0503d8354e473392 /lib/dma-debug.c | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound (diff) | |
parent | MAINTAINERS: Update amd-iommu F: patterns (diff) | |
download | linux-rng-592d44a5f8458892c007c61b9cfa677efede5e1e.tar.xz linux-rng-592d44a5f8458892c007c61b9cfa677efede5e1e.zip |
Merge branch 'iommu/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu
* 'iommu/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
MAINTAINERS: Update amd-iommu F: patterns
iommu/amd: Fix typo in kernel-parameters.txt
iommu/msm: Fix compile error in mach-msm/devices-iommu.c
Fix comparison using wrong pointer variable in dma debug code
Diffstat (limited to 'lib/dma-debug.c')
-rw-r--r-- | lib/dma-debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dma-debug.c b/lib/dma-debug.c index 74c6c7fce749..fea790a2b176 100644 --- a/lib/dma-debug.c +++ b/lib/dma-debug.c @@ -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) { - return ((a->dev_addr == a->dev_addr) && + return ((a->dev_addr == b->dev_addr) && (a->dev == b->dev)) ? true : false; } |