Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286734
b: refs/heads/master
c: 29924b9
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Len Brown committed Jan 24, 2012
1 parent 78bc9a8 commit 8cbe015
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 4c40aed869a200a621b53bcb491c5ee8a34ef5f1
refs/heads/master: 29924b9f8f39e37275cff93740835d28b9e6fb36
6 changes: 3 additions & 3 deletions trunk/drivers/acpi/apei/einj.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,15 +259,15 @@ static void *einj_get_parameter_address(void)

v4param = ioremap(paddrv4, sizeof(*v4param));
if (!v4param)
return 0;
return NULL;
if (readq(&v4param->reserved1) || readq(&v4param->reserved2)) {
iounmap(v4param);
return 0;
return NULL;
}
return v4param;
}

return 0;
return NULL;
}

/* do sanity check to trigger table */
Expand Down

0 comments on commit 8cbe015

Please sign in to comment.