migration: Fix coding style (whitespace issues)
* Remove trailing whitespace (fixes 9 errors from checkpatch.pl). One comment line was longer than 80 characters, so wrap it and fix a typo, too. * Replace tabs by blanks (fixes 1 error). Signed-off-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
2a0457bbba
commit
02942db798
@ -780,7 +780,7 @@ static int qemu_rdma_broken_ipv6_kernel(Error **errp, struct ibv_context *verbs)
|
|||||||
* Otherwise, there are no guarantees until the bug is fixed in linux.
|
* Otherwise, there are no guarantees until the bug is fixed in linux.
|
||||||
*/
|
*/
|
||||||
if (!verbs) {
|
if (!verbs) {
|
||||||
int num_devices, x;
|
int num_devices, x;
|
||||||
struct ibv_device ** dev_list = ibv_get_device_list(&num_devices);
|
struct ibv_device ** dev_list = ibv_get_device_list(&num_devices);
|
||||||
bool roce_found = false;
|
bool roce_found = false;
|
||||||
bool ib_found = false;
|
bool ib_found = false;
|
||||||
@ -825,8 +825,8 @@ static int qemu_rdma_broken_ipv6_kernel(Error **errp, struct ibv_context *verbs)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* If we have a verbs context, that means that some other than '[::]' was
|
* If we have a verbs context, that means that some other than '[::]' was
|
||||||
* used by the management software for binding. In which case we can actually
|
* used by the management software for binding. In which case we can
|
||||||
* warn the user about a potential broken kernel;
|
* actually warn the user about a potentially broken kernel.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* IB ports start with 1, not 0 */
|
/* IB ports start with 1, not 0 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user