staging: dgnc: Fix unsigned value for less than zero
authorDaeseok Youn <daeseok.youn@gmail.com>
Thu, 3 Jul 2014 10:12:31 +0000 (19:12 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 19:07:30 +0000 (12:07 -0700)
commit3098e514686305f03d695a2c5c73ba96ad4cc273
tree834d28a00ab37f02fc04d4a6a965fcb9bd989246
parent5b4af85eedea141026214fb40827a718633c5ccf
staging: dgnc: Fix unsigned value for less than zero

The "un->un_open_count" is unsigned variable, so it cannot
be less than zero.

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_tty.c