staging: unisys: visorbus: fix sloppy unsigned/signed int conversions
authorTim Sell <Timothy.Sell@unisys.com>
Tue, 27 Sep 2016 18:42:21 +0000 (14:42 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Sep 2016 09:30:52 +0000 (11:30 +0200)
commitf7a34ff7c04527776a93683f4ac4bf92e9e778a5
treeb865cb02f6d9eb555a25517034cefd58c0cd901d
parent8681a1d47b3332b4dbeb0321b347af1bb7cb0cd6
staging: unisys: visorbus: fix sloppy unsigned/signed int conversions

Several implicit unsigned --> signed int conversions were corrected.
No runtime effects were observed here, nevertheless implicit conversions
between integral types can lead to unexpected behavior.

Signed-off-by: Tim Sell <Timothy.Sell@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorbus_main.c