Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375552
b: refs/heads/master
c: 1de1455
h: refs/heads/master
v: v3
  • Loading branch information
Benjamin Herrenschmidt committed May 8, 2013
1 parent ce0d482 commit 70f4b30
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 30650239adc9e4e9439256d6988e521518dccbb3
refs/heads/master: 1de1455f33709a8afd8d41d26d09739a1148105b
7 changes: 7 additions & 0 deletions trunk/arch/powerpc/platforms/powernv/opal.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,13 @@ int opal_put_chars(uint32_t vtermno, const char *data, int total_len)
rc == OPAL_BUSY_EVENT || rc == OPAL_SUCCESS)) {
len = total_len;
rc = opal_console_write(vtermno, &len, data);

/* Closed or other error drop */
if (rc != OPAL_SUCCESS && rc != OPAL_BUSY &&
rc != OPAL_BUSY_EVENT) {
written = total_len;
break;
}
if (rc == OPAL_SUCCESS) {
total_len -= len;
data += len;
Expand Down

0 comments on commit 70f4b30

Please sign in to comment.