diff options
Diffstat (limited to 'drivers/serial/sunhv.c')
-rw-r--r-- | drivers/serial/sunhv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/sunhv.c b/drivers/serial/sunhv.c index a94a2ab4b571..1df5325faab2 100644 --- a/drivers/serial/sunhv.c +++ b/drivers/serial/sunhv.c | |||
@@ -461,7 +461,7 @@ static void sunhv_console_write_paged(struct console *con, const char *s, unsign | |||
461 | break; | 461 | break; |
462 | udelay(1); | 462 | udelay(1); |
463 | } | 463 | } |
464 | if (limit <= 0) | 464 | if (limit < 0) |
465 | break; | 465 | break; |
466 | page_bytes -= written; | 466 | page_bytes -= written; |
467 | ra += written; | 467 | ra += written; |