diff options
author | Adrian Vladu <avladu@cloudbasesolutions.com> | 2019-05-06 12:51:24 -0400 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2019-08-17 15:29:28 -0400 |
commit | 2d35c66036b2494c329a32468c85405493370e75 (patch) | |
tree | 9d396815ac094015b918b8b36b845a95184ea986 | |
parent | b0995156071b0ff29a5902964a9dc8cfad6f81c0 (diff) |
tools: hv: fix typos in toolchain
Fix typos in the HyperV toolchain.
Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
Cc: "K. Y. Srinivasan" <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Stephen Hemminger <sthemmin@microsoft.com>
Cc: Sasha Levin <sashal@kernel.org>
Cc: Alessandro Pilotti <apilotti@cloudbasesolutions.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
-rwxr-xr-x | tools/hv/hv_get_dhcp_info.sh | 2 | ||||
-rw-r--r-- | tools/hv/hv_kvp_daemon.c | 6 | ||||
-rwxr-xr-x | tools/hv/hv_set_ifconfig.sh | 2 | ||||
-rw-r--r-- | tools/hv/hv_vss_daemon.c | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/tools/hv/hv_get_dhcp_info.sh b/tools/hv/hv_get_dhcp_info.sh index c38686c44656..2f2a3c7df3de 100755 --- a/tools/hv/hv_get_dhcp_info.sh +++ b/tools/hv/hv_get_dhcp_info.sh | |||
@@ -13,7 +13,7 @@ | |||
13 | # the script prints the string "Disabled" to stdout. | 13 | # the script prints the string "Disabled" to stdout. |
14 | # | 14 | # |
15 | # Each Distro is expected to implement this script in a distro specific | 15 | # Each Distro is expected to implement this script in a distro specific |
16 | # fashion. For instance on Distros that ship with Network Manager enabled, | 16 | # fashion. For instance, on Distros that ship with Network Manager enabled, |
17 | # this script can be based on the Network Manager APIs for retrieving DHCP | 17 | # this script can be based on the Network Manager APIs for retrieving DHCP |
18 | # information. | 18 | # information. |
19 | 19 | ||
diff --git a/tools/hv/hv_kvp_daemon.c b/tools/hv/hv_kvp_daemon.c index 0ce50c319cfd..f5597503c771 100644 --- a/tools/hv/hv_kvp_daemon.c +++ b/tools/hv/hv_kvp_daemon.c | |||
@@ -700,7 +700,7 @@ static void kvp_get_ipconfig_info(char *if_name, | |||
700 | 700 | ||
701 | 701 | ||
702 | /* | 702 | /* |
703 | * Gather the DNS state. | 703 | * Gather the DNS state. |
704 | * Since there is no standard way to get this information | 704 | * Since there is no standard way to get this information |
705 | * across various distributions of interest; we just invoke | 705 | * across various distributions of interest; we just invoke |
706 | * an external script that needs to be ported across distros | 706 | * an external script that needs to be ported across distros |
@@ -1051,7 +1051,7 @@ static int parse_ip_val_buffer(char *in_buf, int *offset, | |||
1051 | char *start; | 1051 | char *start; |
1052 | 1052 | ||
1053 | /* | 1053 | /* |
1054 | * in_buf has sequence of characters that are seperated by | 1054 | * in_buf has sequence of characters that are separated by |
1055 | * the character ';'. The last sequence does not have the | 1055 | * the character ';'. The last sequence does not have the |
1056 | * terminating ";" character. | 1056 | * terminating ";" character. |
1057 | */ | 1057 | */ |
@@ -1492,7 +1492,7 @@ int main(int argc, char *argv[]) | |||
1492 | case KVP_OP_GET_IP_INFO: | 1492 | case KVP_OP_GET_IP_INFO: |
1493 | kvp_ip_val = &hv_msg->body.kvp_ip_val; | 1493 | kvp_ip_val = &hv_msg->body.kvp_ip_val; |
1494 | 1494 | ||
1495 | error = kvp_mac_to_ip(kvp_ip_val); | 1495 | error = kvp_mac_to_ip(kvp_ip_val); |
1496 | 1496 | ||
1497 | if (error) | 1497 | if (error) |
1498 | hv_msg->error = error; | 1498 | hv_msg->error = error; |
diff --git a/tools/hv/hv_set_ifconfig.sh b/tools/hv/hv_set_ifconfig.sh index 7ed9f85ef908..d10fe35b7f25 100755 --- a/tools/hv/hv_set_ifconfig.sh +++ b/tools/hv/hv_set_ifconfig.sh | |||
@@ -12,7 +12,7 @@ | |||
12 | # be used to configure the interface. | 12 | # be used to configure the interface. |
13 | # | 13 | # |
14 | # Each Distro is expected to implement this script in a distro specific | 14 | # Each Distro is expected to implement this script in a distro specific |
15 | # fashion. For instance on Distros that ship with Network Manager enabled, | 15 | # fashion. For instance, on Distros that ship with Network Manager enabled, |
16 | # this script can be based on the Network Manager APIs for configuring the | 16 | # this script can be based on the Network Manager APIs for configuring the |
17 | # interface. | 17 | # interface. |
18 | # | 18 | # |
diff --git a/tools/hv/hv_vss_daemon.c b/tools/hv/hv_vss_daemon.c index 8f813f5233d4..92902a88f671 100644 --- a/tools/hv/hv_vss_daemon.c +++ b/tools/hv/hv_vss_daemon.c | |||
@@ -42,7 +42,7 @@ static int vss_do_freeze(char *dir, unsigned int cmd) | |||
42 | * If a partition is mounted more than once, only the first | 42 | * If a partition is mounted more than once, only the first |
43 | * FREEZE/THAW can succeed and the later ones will get | 43 | * FREEZE/THAW can succeed and the later ones will get |
44 | * EBUSY/EINVAL respectively: there could be 2 cases: | 44 | * EBUSY/EINVAL respectively: there could be 2 cases: |
45 | * 1) a user may mount the same partition to differnt directories | 45 | * 1) a user may mount the same partition to different directories |
46 | * by mistake or on purpose; | 46 | * by mistake or on purpose; |
47 | * 2) The subvolume of btrfs appears to have the same partition | 47 | * 2) The subvolume of btrfs appears to have the same partition |
48 | * mounted more than once. | 48 | * mounted more than once. |