Re: [PATCH v2 2/3] Drivers: hv: vmbus: Enable VMBus protocol versions 4.1, 5.1 and 5.2
From: Andrea Parri
Date: Mon Oct 14 2019 - 06:09:33 EST
> > @@ -182,15 +182,21 @@ static inline u32 hv_get_avail_to_write_percent(
> > * 2 . 4 (Windows 8)
> > * 3 . 0 (Windows 8 R2)
> > * 4 . 0 (Windows 10)
> > + * 4 . 1 (Windows 10 RS3)
> > * 5 . 0 (Newer Windows 10)
> > + * 5 . 1 (Windows 10 RS4)
> > + * 5 . 2 (Windows Server 2019, RS5)
> > */
> >
> > #define VERSION_WS2008 ((0 << 16) | (13))
> > #define VERSION_WIN7 ((1 << 16) | (1))
> > #define VERSION_WIN8 ((2 << 16) | (4))
> > #define VERSION_WIN8_1 ((3 << 16) | (0))
> > -#define VERSION_WIN10 ((4 << 16) | (0))
> > +#define VERSION_WIN10_V4 ((4 << 16) | (0))
>
> I would recommend not changing the symbol name for version 4.0.
> The change makes it more consistent with the later VERSION_WIN10_*
> symbols, but it doesn't fundamentally add any clarity and I'm not sure
> it's worth the churn in the other files that have to be touched. It's a
> judgment call, and that's just my input.
My fingers were itching: ;-) I've reverted this change, following
your recommendation.
Thanks,
Andrea