Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98179
b: refs/heads/master
c: bad5232
h: refs/heads/master
i:
  98177: 042a194
  98175: 834c683
v: v3
  • Loading branch information
Julia Lawall authored and Paul Mackerras committed Jun 16, 2008
1 parent ecaf96b commit 6c3cc6f
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 476ff8a0e3b17fc23994255aa9fd917d599d2ec7
refs/heads/master: bad5232ba266ae2c666c17be236152fb2d8ada3b
4 changes: 3 additions & 1 deletion trunk/arch/powerpc/platforms/pseries/nvram.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,10 @@ int __init pSeries_nvram_init(void)
return -ENODEV;

nbytes_p = of_get_property(nvram, "#bytes", &proplen);
if (nbytes_p == NULL || proplen != sizeof(unsigned int))
if (nbytes_p == NULL || proplen != sizeof(unsigned int)) {
of_node_put(nvram);
return -EIO;
}

nvram_size = *nbytes_p;

Expand Down

0 comments on commit 6c3cc6f

Please sign in to comment.