mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04: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:
parent
6b0658f687
commit
6bfff1dcb2
1 changed files with 1 additions and 1 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue