staging: hv: fix some white spaces in netvsc driver
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Abhishek Kane <v-abkane@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
e56269a62f
commit
e4d59ac5c6
2 changed files with 5 additions and 5 deletions
|
@ -539,10 +539,10 @@ int netvsc_send(struct hv_device *device,
|
||||||
(unsigned long)packet);
|
(unsigned long)packet);
|
||||||
} else {
|
} else {
|
||||||
ret = vmbus_sendpacket(device->channel, &sendMessage,
|
ret = vmbus_sendpacket(device->channel, &sendMessage,
|
||||||
sizeof(struct nvsp_message),
|
sizeof(struct nvsp_message),
|
||||||
(unsigned long)packet,
|
(unsigned long)packet,
|
||||||
VM_PKT_DATA_INBAND,
|
VM_PKT_DATA_INBAND,
|
||||||
VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED);
|
VMBUS_DATA_PACKET_FLAG_COMPLETION_REQUESTED);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -122,7 +122,7 @@ static void netvsc_xmit_completion(void *context)
|
||||||
atomic_add(num_pages, &net_device_ctx->avail);
|
atomic_add(num_pages, &net_device_ctx->avail);
|
||||||
if (atomic_read(&net_device_ctx->avail) >=
|
if (atomic_read(&net_device_ctx->avail) >=
|
||||||
PACKET_PAGES_HIWATER)
|
PACKET_PAGES_HIWATER)
|
||||||
netif_wake_queue(net);
|
netif_wake_queue(net);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue