Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123371
b: refs/heads/master
c: 59966e3
h: refs/heads/master
i:
  123369: c70d619
  123367: e6ed837
v: v3
  • Loading branch information
David S. Miller committed Dec 6, 2008
1 parent 5558db4 commit 514a40d
Show file tree
Hide file tree
Showing 3 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: b9e5567cda6387e0f4061bfceebbc1bd63ee42a6
refs/heads/master: 59966e3b4e9e6573b352301ad0ceed15196d4e2d
2 changes: 1 addition & 1 deletion trunk/arch/sparc/kernel/prom_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ static char * __init build_full_name(struct device_node *dp)
return n;
}

static char * __init get_one_property(phandle node, char *name)
static char * __init get_one_property(phandle node, const char *name)
{
char *buf = "<NULL>";
int len;
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/sparc/kernel/prom_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ static char * __init get_one_property(phandle node, const char *name)
len = prom_getproplen(node, name);
if (len > 0) {
buf = prom_early_alloc(len);
prom_getproperty(node, name, buf, len);
len = prom_getproperty(node, name, buf, len);
}

return buf;
Expand Down

0 comments on commit 514a40d

Please sign in to comment.