Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 212850
b: refs/heads/master
c: 7cf9bac
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and Benjamin Herrenschmidt committed Sep 2, 2010
1 parent 32c5aae commit bf3d1ba
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: 182f30e4b9f6e26d565eb432d1140a487c64fa17
refs/heads/master: 7cf9bac559d233ff3a7fdbbdc4fc4c184abc5f59
4 changes: 3 additions & 1 deletion trunk/arch/powerpc/platforms/chrp/nvram.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,10 @@ void __init chrp_nvram_init(void)
return;

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;
}

nvram_size = *nbytes_p;

Expand Down

0 comments on commit bf3d1ba

Please sign in to comment.