RE: [PATCH hyperv-fixes,2/3] Refactor assignments of struct netvsc_device_info

From: Michael Kelley
Date: Fri Jan 18 2019 - 20:13:15 EST


From: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx> Sent: Monday, January 14, 2019 4:52 PM
>
> These assignments occur in multiple places. The patch refactor them
> to a function for simplicity. It also puts the struct to heap area
> for future expension.
>
> Signed-off-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
> ---
> drivers/net/hyperv/netvsc_drv.c | 134 ++++++++++++++++++++------------
> 1 file changed, 85 insertions(+), 49 deletions(-)
>
Reviewed-by: Michael Kelley <mikelley@xxxxxxxxxxxxx>