Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204704
b: refs/heads/master
c: 307a54c
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and Benjamin Herrenschmidt committed Jul 9, 2010
1 parent d446ef1 commit 20a9d3e
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 41eab6f88f24124df89e38067b3766b7bef06ddb
refs/heads/master: 307a54cc80ddc7e5d87c4862dd12f43a01355187
3 changes: 1 addition & 2 deletions trunk/arch/powerpc/platforms/iseries/vio.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,11 @@ static struct device_node *new_node(const char *path,

if (!np)
return NULL;
np->full_name = kmalloc(strlen(path) + 1, GFP_KERNEL);
np->full_name = kstrdup(path, GFP_KERNEL);
if (!np->full_name) {
kfree(np);
return NULL;
}
strcpy(np->full_name, path);
of_node_set_flag(np, OF_DYNAMIC);
kref_init(&np->kref);
np->parent = of_node_get(parent);
Expand Down

0 comments on commit 20a9d3e

Please sign in to comment.