Commit f45be72c authored by Haiyang Zhang's avatar Haiyang Zhang Committed by Greg Kroah-Hartman

hyperv: Fix spelling of HV_UNKOWN

Changed it to HV_UNKNOWN
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 076802d0
...@@ -134,7 +134,7 @@ static const struct vmbus_device vmbus_devs[] = { ...@@ -134,7 +134,7 @@ static const struct vmbus_device vmbus_devs[] = {
}, },
/* Unknown GUID */ /* Unknown GUID */
{ .dev_type = HV_UNKOWN, { .dev_type = HV_UNKNOWN,
.perf_device = false, .perf_device = false,
}, },
}; };
...@@ -163,9 +163,9 @@ static u16 hv_get_dev_type(const struct vmbus_channel *channel) ...@@ -163,9 +163,9 @@ static u16 hv_get_dev_type(const struct vmbus_channel *channel)
u16 i; u16 i;
if (is_hvsock_channel(channel) || is_unsupported_vmbus_devs(guid)) if (is_hvsock_channel(channel) || is_unsupported_vmbus_devs(guid))
return HV_UNKOWN; return HV_UNKNOWN;
for (i = HV_IDE; i < HV_UNKOWN; i++) { for (i = HV_IDE; i < HV_UNKNOWN; i++) {
if (!uuid_le_cmp(*guid, vmbus_devs[i].guid)) if (!uuid_le_cmp(*guid, vmbus_devs[i].guid))
return i; return i;
} }
......
...@@ -696,7 +696,7 @@ enum vmbus_device_type { ...@@ -696,7 +696,7 @@ enum vmbus_device_type {
HV_FCOPY, HV_FCOPY,
HV_BACKUP, HV_BACKUP,
HV_DM, HV_DM,
HV_UNKOWN, HV_UNKNOWN,
}; };
struct vmbus_device { struct vmbus_device {
......
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