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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -689,7 +689,7 @@ static int unregister_for_notification(struct loopback_test *t)

static int is_complete(struct loopback_test *t)
{
	uint32_t iteration_count = 0;
	int iteration_count;
	int i;

	for (i = 0; i < t->device_count; i++) {