mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-03 09:41:54 +09:00
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>
This commit is contained in:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user