Commit 3c4debad authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman

Staging: hv: netvsc: Rename deviceInfo as device_info

Rename deviceInfo as device_info.
Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent b13cc345
...@@ -691,7 +691,7 @@ int rndis_filter_device_add(struct hv_device *dev, ...@@ -691,7 +691,7 @@ int rndis_filter_device_add(struct hv_device *dev,
int ret; int ret;
struct netvsc_device *net_device; struct netvsc_device *net_device;
struct rndis_device *rndis_device; struct rndis_device *rndis_device;
struct netvsc_device_info *deviceInfo = additional_info; struct netvsc_device_info *device_info = additional_info;
rndis_device = get_rndis_device(); rndis_device = get_rndis_device();
if (!rndis_device) if (!rndis_device)
...@@ -732,15 +732,15 @@ int rndis_filter_device_add(struct hv_device *dev, ...@@ -732,15 +732,15 @@ int rndis_filter_device_add(struct hv_device *dev,
*/ */
} }
memcpy(deviceInfo->mac_adr, rndis_device->hw_mac_adr, ETH_ALEN); memcpy(device_info->mac_adr, rndis_device->hw_mac_adr, ETH_ALEN);
rndis_filter_query_device_link_status(rndis_device); rndis_filter_query_device_link_status(rndis_device);
deviceInfo->link_state = rndis_device->link_stat; device_info->link_state = rndis_device->link_stat;
dev_info(&dev->device, "Device MAC %pM link state %s", dev_info(&dev->device, "Device MAC %pM link state %s",
rndis_device->hw_mac_adr, rndis_device->hw_mac_adr,
((deviceInfo->link_state) ? ("down\n") : ("up\n"))); ((device_info->link_state) ? ("down\n") : ("up\n")));
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment