diff options
author | roel kluin <roel.kluin@gmail.com> | 2008-12-02 11:21:43 +0000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-12-03 21:04:13 +1100 |
commit | 3d26825ec03f623f20ba860e6e6113ab2d0bb0f1 (patch) | |
tree | 3f7444eb256e82bb241874d433d72c88772096e2 /drivers/char/hvsi.c | |
parent | dc42149fccda63a5d2fa4457808c3489a5111c5e (diff) | |
download | linux-3d26825ec03f623f20ba860e6e6113ab2d0bb0f1.tar.gz linux-3d26825ec03f623f20ba860e6e6113ab2d0bb0f1.tar.bz2 linux-3d26825ec03f623f20ba860e6e6113ab2d0bb0f1.zip |
powerpc: Make open count variables signed in hvcs/hvsi/hvc_console
Otherwise the tests for count < 0 will never be true.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/char/hvsi.c')
-rw-r--r-- | drivers/char/hvsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hvsi.c b/drivers/char/hvsi.c index 59c6f9ab94e4..af055287271a 100644 --- a/drivers/char/hvsi.c +++ b/drivers/char/hvsi.c @@ -75,7 +75,7 @@ struct hvsi_struct { spinlock_t lock; int index; struct tty_struct *tty; - unsigned int count; + int count; uint8_t throttle_buf[128]; uint8_t outbuf[N_OUTBUF]; /* to implement write_room and chars_in_buffer */ /* inbuf is for packet reassembly. leave a little room for leftovers. */ |