commit | 7c9f335a3ff20557a92584199f3d35c7e992bbe5 | [log] [tgz] |
---|---|---|
author | Haiyang Zhang <haiyangz@microsoft.com> | Tue Jan 15 00:51:43 2019 +0000 |
committer | Sasha Levin <sashal@kernel.org> | Wed Jan 23 13:20:10 2019 -0500 |
tree | d4f5f2ae826ce1574fc80a69941fd8fdff5e9ee7 | |
parent | b4a10c750424e01b5e37372fef0a574ebf7b56c3 [diff] |
hv_netvsc: Refactor assignments of struct netvsc_device_info 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> Reviewed-by: Michael Kelley <mikelley@microsoft.com> [sl: fix up subject line] Signed-off-by: Sasha Levin <sashal@kernel.org>