Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63168
b: refs/heads/master
c: f623f38
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Jul 30, 2007
1 parent a765c78 commit 717eea3
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 8163904e660a30be800a3361df69bf9dad3b44cd
refs/heads/master: f623f388e4f83c01ac23f228247a6a4b9cc71111
5 changes: 3 additions & 2 deletions trunk/arch/sparc/kernel/prom.c
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ static void __init of_console_init(void)
unsigned long flags;
const char *type;
phandle node;
int skip, fd;
int skip, tmp, fd;

of_console_path = prom_early_alloc(256);

Expand All @@ -442,8 +442,9 @@ static void __init of_console_init(void)
prom_halt();
}

tmp = skip;
for_each_node_by_type(dp, type) {
if (!skip--)
if (!tmp--)
break;
}
if (!dp) {
Expand Down

0 comments on commit 717eea3

Please sign in to comment.