hyperv: Fix spelling of HV_UNKOWN
authorHaiyang Zhang <haiyangz@microsoft.com>
Sat, 3 Dec 2016 20:34:29 +0000 (12:34 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Dec 2016 10:10:54 +0000 (11:10 +0100)
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>
drivers/hv/channel_mgmt.c
include/linux/hyperv.h

index cbb96f2..e5d1b0e 100644 (file)
@@ -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;
        }
index 2a52d9a..35053f9 100644 (file)
@@ -696,7 +696,7 @@ enum vmbus_device_type {
        HV_FCOPY,
        HV_BACKUP,
        HV_DM,
-       HV_UNKOWN,
+       HV_UNKNOWN,
 };
 
 struct vmbus_device {