Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 138937
b: refs/heads/master
c: 35d4095
h: refs/heads/master
i:
  138935: c93623e
v: v3
  • Loading branch information
FUJITA Tomonori authored and Ingo Molnar committed Mar 19, 2009
1 parent 9ca06c0 commit 33b3357
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 84be58d4601c86306cd939ebf58a9b90989883a4
refs/heads/master: 35d40952dba7b0689a16bd1463fb7698f8dbe639
5 changes: 4 additions & 1 deletion trunk/lib/dma-debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -531,8 +531,11 @@ static void check_unmap(struct dma_debug_entry *ref)
struct hash_bucket *bucket;
unsigned long flags;

if (dma_mapping_error(ref->dev, ref->dev_addr))
if (dma_mapping_error(ref->dev, ref->dev_addr)) {
err_printk(ref->dev, NULL, "DMA-API: device driver tries "
"to free an invalid DMA memory address\n");
return;
}

bucket = get_hash_bucket(ref, &flags);
entry = hash_bucket_find(bucket, ref);
Expand Down

0 comments on commit 33b3357

Please sign in to comment.