Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 20072
b: refs/heads/master
c: 090db7c
h: refs/heads/master
v: v3
  • Loading branch information
Olaf Hering authored and Paul Mackerras committed Feb 7, 2006
1 parent 4f835fa commit 12a719e
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: 03478804920a53405dfff73a0b23e9dcbbbee1c1
refs/heads/master: 090db7c86d5df0161135793063e75bc1abddaa6f
4 changes: 2 additions & 2 deletions trunk/arch/powerpc/kernel/prom.c
Original file line number Diff line number Diff line change
Expand Up @@ -1403,8 +1403,8 @@ struct device_node *of_find_node_by_name(struct device_node *from,

read_lock(&devtree_lock);
np = from ? from->allnext : allnodes;
for (; np != 0; np = np->allnext)
if (np->name != 0 && strcasecmp(np->name, name) == 0
for (; np != NULL; np = np->allnext)
if (np->name != NULL && strcasecmp(np->name, name) == 0
&& of_node_get(np))
break;
if (from)
Expand Down

0 comments on commit 12a719e

Please sign in to comment.