X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fserial%2Fdz.c;h=0dddd68b20d27de2dd4e5a8802e4931e954f493b;hb=4b4f7280d7fd1feeff134c2cf2db32fd583b6c29;hp=116211fcd36fc196ff12de4aeb36ee8e6194031f;hpb=7a8c6ad918e9c598bf3b799f1a0d5ee4dee59ca3;p=linux-2.6 diff --git a/drivers/serial/dz.c b/drivers/serial/dz.c index 116211fcd3..0dddd68b20 100644 --- a/drivers/serial/dz.c +++ b/drivers/serial/dz.c @@ -819,7 +819,7 @@ static void dz_console_putchar(struct uart_port *uport, int ch) dz_out(dport, DZ_TCR, mask); iob(); udelay(2); - } while (loops--); + } while (--loops); if (loops) /* Cannot send otherwise. */ dz_out(dport, DZ_TDR, ch);