summaryrefslogtreecommitdiffstats
path: root/drivers/hv
diff options
context:
space:
mode:
authorHaiyang Zhang <haiyangz@microsoft.com>2016-12-03 21:34:29 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-12-06 11:10:54 +0100
commitf45be72c8ec0b85263d1fe1e6c681d8c87e198e6 (patch)
tree546142a7a50ff1497ffb1f7b73ea4d09f7d6cdc3 /drivers/hv
parentmei: bus: enable non-blocking RX (diff)
downloadlinux-f45be72c8ec0b85263d1fe1e6c681d8c87e198e6.tar.xz
linux-f45be72c8ec0b85263d1fe1e6c681d8c87e198e6.zip
hyperv: Fix spelling of HV_UNKOWN
Changed it to HV_UNKNOWN Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv')
-rw-r--r--drivers/hv/channel_mgmt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c
index cbb96f2f0d1a..e5d1b0e6c922 100644
--- a/drivers/hv/channel_mgmt.c
+++ b/drivers/hv/channel_mgmt.c
@@ -134,7 +134,7 @@ static const struct vmbus_device vmbus_devs[] = {
},
/* Unknown GUID */
- { .dev_type = HV_UNKOWN,
+ { .dev_type = HV_UNKNOWN,
.perf_device = false,
},
};
@@ -163,9 +163,9 @@ static u16 hv_get_dev_type(const struct vmbus_channel *channel)
u16 i;
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))
return i;
}