Re: [PATCH] Drivers: hv: vmbus: enable VMBus protocol version 5.0

From: Stephen Hemminger
Date: Tue May 08 2018 - 18:45:36 EST


On Tue, 8 May 2018 22:26:21 +0000
Dexuan Cui <decui@xxxxxxxxxxxxx> wrote:

> --- a/drivers/hv/connection.c
> +++ b/drivers/hv/connection.c
> @@ -63,6 +63,9 @@ static __u32 vmbus_get_next_version(__u32 current_version)
> case (VERSION_WIN10):
> return VERSION_WIN8_1;
>
> + case (VERSION_WIN10_V5):
> + return VERSION_WIN10;
> +
> case (VERSION_WS2008):

In a future patch, we should get rid of the use of parenthesis on this switch
statement. Lots of other cleanup of this code is possible as well.