hvc_console: fix test on unsigned in hvc_console_print()
authorRoel Kluin <roel.kluin@gmail.com>
Wed, 9 Dec 2009 20:34:16 +0000 (12:34 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:43:13 +0000 (14:43 -0800)
commitecfcbee729389bc47576695c529d351d60946ca7
tree0ac333477339aa150704c308fdf34bc564ef5179
parentdb91340b2e874693f14e9e937152e7433d7ac753
hvc_console: fix test on unsigned in hvc_console_print()

vtermnos[] is unsigned, so this test was wrong.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/hvc_console.c