This conditional is missing a bang, with the intent
being to break when the retry count reaches zero.
Fixes: 476d96ca9cc5 ("ibmvnic: Bound waits for device queries")
Suggested-by: Juliet Kim <julietk@linux.vnet.ibm.com>
Signed-off-by: Thomas Falcon <tlfalcon@linux.ibm.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
netdev_err(netdev, "Device down!\n");
return -ENODEV;
}
netdev_err(netdev, "Device down!\n");
return -ENODEV;
}
break;
if (wait_for_completion_timeout(comp_done, div_timeout))
return 0;
break;
if (wait_for_completion_timeout(comp_done, div_timeout))
return 0;