Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 212871
b: refs/heads/master
c: e72ed6b
h: refs/heads/master
i:
  212869: 91e1a67
  212867: e2bc901
  212863: b277bf5
v: v3
  • Loading branch information
Nishanth Aravamudan authored and Benjamin Herrenschmidt committed Oct 13, 2010
1 parent 04f9607 commit 9ebe54a
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: 45848e0fc1fce399651b3f480bdeb82cc6d3d15a
refs/heads/master: e72ed6b509a62605fe9aca195c6037abdda6c1ac
3 changes: 1 addition & 2 deletions trunk/arch/powerpc/platforms/pseries/dlpar.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,12 @@ static struct property *dlpar_parse_cc_property(struct cc_workarea *ccwa)

prop->length = ccwa->prop_length;
value = (char *)ccwa + ccwa->prop_offset;
prop->value = kzalloc(prop->length, GFP_KERNEL);
prop->value = kmemdup(value, prop->length, GFP_KERNEL);
if (!prop->value) {
dlpar_free_cc_property(prop);
return NULL;
}

memcpy(prop->value, value, prop->length);
return prop;
}

Expand Down

0 comments on commit 9ebe54a

Please sign in to comment.