Messages in this thread | | | From | Michael Kelley <> | Subject | RE: [PATCH hyperv-fixes,2/3] Refactor assignments of struct netvsc_device_info | Date | Sat, 19 Jan 2019 01:13:08 +0000 |
| |
From: Haiyang Zhang <haiyangz@microsoft.com> 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@microsoft.com> > --- > drivers/net/hyperv/netvsc_drv.c | 134 ++++++++++++++++++++------------ > 1 file changed, 85 insertions(+), 49 deletions(-) > Reviewed-by: Michael Kelley <mikelley@microsoft.com>
| |