Commit 6bfff1dc authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 6b0658f6
...@@ -689,7 +689,7 @@ static int unregister_for_notification(struct loopback_test *t) ...@@ -689,7 +689,7 @@ static int unregister_for_notification(struct loopback_test *t)
static int is_complete(struct loopback_test *t) static int is_complete(struct loopback_test *t)
{ {
uint32_t iteration_count = 0; int iteration_count;
int i; int i;
for (i = 0; i < t->device_count; i++) { for (i = 0; i < t->device_count; i++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment