tty: serial: bfin_sport_uart: fix signedness error
authorVasiliy Kulikov <segoon@openwall.com>
Mon, 17 Jan 2011 10:08:52 +0000 (13:08 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 3 Feb 2011 19:40:46 +0000 (11:40 -0800)
commit940f3be4058e0aff0505fd6f68e29e547e10e552
tree53084a8dafb83b0ae45da59f18c9c3943d9f4acd
parentebf53826e105f488f4f628703a108e98940d1dc5
tty: serial: bfin_sport_uart: fix signedness error

sport->port.irq is unsigned, check for <0 doesn't make sense.
Explicitly cast it to int to check for error.

Signed-off-by: Vasiliy Kulikov <segoon@openwall.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/serial/bfin_sport_uart.c