Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123054
b: refs/heads/master
c: dc42149
h: refs/heads/master
v: v3
  • Loading branch information
Nicolas Palix authored and Paul Mackerras committed Dec 3, 2008
1 parent b2f6ed6 commit d9381fa
Show file tree
Hide file tree
Showing 3 changed files with 7 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: b908b53d580c3e9aba81ebe3339c5b7b4fa8031d
refs/heads/master: dc42149fccda63a5d2fa4457808c3489a5111c5e
4 changes: 3 additions & 1 deletion trunk/drivers/char/hvc_iseries.c
Original file line number Diff line number Diff line change
Expand Up @@ -575,8 +575,10 @@ static int __init hvc_find_vtys(void)
* of console adapters.
*/
if ((num_found >= MAX_NR_HVC_CONSOLES) ||
(num_found >= VTTY_PORTS))
(num_found >= VTTY_PORTS)) {
of_node_put(vty);
break;
}

vtermno = of_get_property(vty, "reg", NULL);
if (!vtermno)
Expand Down
4 changes: 3 additions & 1 deletion trunk/drivers/char/hvc_vio.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,10 @@ static int hvc_find_vtys(void)
/* We have statically defined space for only a certain number
* of console adapters.
*/
if (num_found >= MAX_NR_HVC_CONSOLES)
if (num_found >= MAX_NR_HVC_CONSOLES) {
of_node_put(vty);
break;
}

vtermno = of_get_property(vty, "reg", NULL);
if (!vtermno)
Expand Down

0 comments on commit d9381fa

Please sign in to comment.