Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288035
b: refs/heads/master
c: 87997aa
h: refs/heads/master
i:
  288033: a0a3ab2
  288031: 943a790
v: v3
  • Loading branch information
Ohad Ben-Cohen authored and Joerg Roedel committed Feb 24, 2012
1 parent 3faf490 commit c59937b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 46451d6229723ce1428c69e5b4f3308a775473fd
refs/heads/master: 87997aaa1bad1fc37e4ff7eb27850172017017a0
4 changes: 2 additions & 2 deletions trunk/drivers/iommu/omap-iommu-debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ static ssize_t debug_read_mem(struct file *file, char __user *userbuf,
mutex_lock(&iommu_debug_lock);

area = omap_find_iovm_area(dev, (u32)ppos);
if (IS_ERR(area)) {
if (!area) {
bytes = -EINVAL;
goto err_out;
}
Expand Down Expand Up @@ -311,7 +311,7 @@ static ssize_t debug_write_mem(struct file *file, const char __user *userbuf,
}

area = omap_find_iovm_area(dev, (u32)ppos);
if (IS_ERR(area)) {
if (!area) {
count = -EINVAL;
goto err_out;
}
Expand Down

0 comments on commit c59937b

Please sign in to comment.