greybus: loopback_test: fix warning about signed/unsigned comparison
authorGreg Kroah-Hartman <gregkh@google.com>
Tue, 15 Dec 2015 21:55:05 +0000 (13:55 -0800)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 18 Dec 2015 02:17:07 +0000 (18:17 -0800)
commit6bfff1dcb2766ebef60a288601ff4cccbb1f6e54
treef01e48364a8bcdd0369ec3287d04d376ca2a55c7
parent6b0658f68786110f41cd82558bd97447e4b14203
greybus: loopback_test: fix warning about signed/unsigned comparison

We read an int, don't treat it as a unsigned value, especially when
comparing it to a signed value.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/tools/loopback_test.c