Commit c2fef5f8 authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman
Browse files
parent 90ca6333
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -853,8 +853,10 @@ static void lp_console_write(struct console *co, const char *s,
			count--;
			do {
				written = parport_write(port, crlf, i);
				if (written > 0)
					i -= written, crlf += written;
				if (written > 0) {
					i -= written;
					crlf += written;
				}
			} while (i > 0 && (CONSOLE_LP_STRICT || written > 0));
		}
	} while (count > 0 && (CONSOLE_LP_STRICT || written > 0));