From: Tokunori Ikegami Date: Fri, 8 Jul 2022 18:40:31 +0000 (+0900) Subject: nvme: Correct spelling check error X-Git-Tag: v2.1-rc0~9^2~2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=5760082c6a3cb50a20d64360fc0f70a5766e6907;p=users%2Fsagi%2Fnvme-cli.git nvme: Correct spelling check error Signed-off-by: Tokunori Ikegami --- diff --git a/Documentation/nvme-set-property.txt b/Documentation/nvme-set-property.txt index 0d04f52e..ba90fd3b 100644 --- a/Documentation/nvme-set-property.txt +++ b/Documentation/nvme-set-property.txt @@ -4,7 +4,7 @@ nvme-set-property(1) NAME ---- nvme-set-property - Writes and shows the defined NVMe controller property -for NVMe ove Fabric +for NVMe over Fabric SYNOPSIS -------- @@ -15,7 +15,7 @@ SYNOPSIS DESCRIPTION ----------- -Writes and shows the defined NVMe controller property for NVMe ove Fabric. +Writes and shows the defined NVMe controller property for NVMe over Fabric. OPTIONS ------- diff --git a/fabrics.c b/fabrics.c index 297c5c9c..58a7c31d 100644 --- a/fabrics.c +++ b/fabrics.c @@ -661,7 +661,7 @@ int nvmf_discover(const char *desc, int argc, char **argv, bool connect) } ret = nvme_scan_topology(r, NULL, NULL); if (ret < 0) { - fprintf(stderr, "Failed to scan topoplogy: %s\n", + fprintf(stderr, "Failed to scan topology: %s\n", nvme_strerror(errno)); nvme_free_tree(r); return ret; @@ -850,7 +850,7 @@ int nvmf_connect(const char *desc, int argc, char **argv) } ret = nvme_scan_topology(r, NULL, NULL); if (ret < 0) { - fprintf(stderr, "Failed to scan topoplogy: %s\n", + fprintf(stderr, "Failed to scan topology: %s\n", nvme_strerror(errno)); nvme_free_tree(r); return ret; @@ -946,7 +946,7 @@ int nvmf_disconnect(const char *desc, int argc, char **argv) } ret = nvme_scan_topology(r, NULL, NULL); if (ret < 0) { - fprintf(stderr, "Failed to scan topoplogy: %s\n", + fprintf(stderr, "Failed to scan topology: %s\n", nvme_strerror(errno)); nvme_free_tree(r); return ret; @@ -1033,7 +1033,7 @@ int nvmf_disconnect_all(const char *desc, int argc, char **argv) } ret = nvme_scan_topology(r, NULL, NULL); if (ret < 0) { - fprintf(stderr, "Failed to scan topoplogy: %s\n", + fprintf(stderr, "Failed to scan topology: %s\n", nvme_strerror(errno)); nvme_free_tree(r); return ret; @@ -1104,7 +1104,7 @@ int nvmf_config(const char *desc, int argc, char **argv) if (scan_tree) { ret = nvme_scan_topology(r, NULL, NULL); if (ret < 0) { - fprintf(stderr, "Failed to scan topoplogy: %s\n", + fprintf(stderr, "Failed to scan topology: %s\n", nvme_strerror(errno)); nvme_free_tree(r); return ret; @@ -1243,7 +1243,7 @@ int nvmf_dim(const char *desc, int argc, char **argv) } ret = nvme_scan_topology(r, NULL, NULL); if (ret < 0) { - fprintf(stderr, "Failed to scan topoplogy: %s\n", + fprintf(stderr, "Failed to scan topology: %s\n", nvme_strerror(errno)); nvme_free_tree(r); return ret; diff --git a/nvme.c b/nvme.c index 08fbcbb2..a2a9996a 100644 --- a/nvme.c +++ b/nvme.c @@ -1158,7 +1158,7 @@ static int get_persistent_event_log(int argc, char **argv, } /* - * if header aleady read with context establish action 0x1, + * if header already read with context establish action 0x1, * action shall not be 0x1 again in the subsequent request, * until the current context is released by issuing action * with 0x2, otherwise throws command sequence error, make @@ -1188,7 +1188,7 @@ static int get_persistent_event_log(int argc, char **argv, pevent_collected = pevent_log_info; if (pevent_collected->gen_number != pevent->gen_number) { printf("Collected Persistent Event Log may be invalid, "\ - "Re-read the log is reiquired\n"); + "Re-read the log is required\n"); goto free; } @@ -2647,7 +2647,7 @@ static int list(int argc, char **argv, struct command *cmd, struct plugin *plugi } err = nvme_scan_topology(r, NULL, NULL); if (err < 0) { - fprintf(stderr, "Failed to scan topoplogy: %s\n", + fprintf(stderr, "Failed to scan topology: %s\n", nvme_strerror(errno)); nvme_free_tree(r); return err; @@ -2988,7 +2988,7 @@ static int id_ns(int argc, char **argv, struct command *cmd, struct plugin *plug "given device, returns properties of the specified namespace "\ "in either human-readable or binary format. Can also return "\ "binary vendor-specific namespace attributes."; - const char *force = "Return this namespace, even if not attaced (1.2 devices only)"; + const char *force = "Return this namespace, even if not attached (1.2 devices only)"; const char *vendor_specific = "dump binary vendor fields"; const char *raw = "show identify in binary format"; const char *human_readable = "show identify in readable format"; @@ -3853,7 +3853,7 @@ static int get_feature(int argc, char **argv, struct command *cmd, "specified controller. Operating parameters are grouped "\ "and identified by Feature Identifiers; each Feature "\ "Identifier contains one or more attributes that may affect "\ - "behaviour of the feature. Each Feature has three possible "\ + "behavior of the feature. Each Feature has three possible "\ "settings: default, saveable, and current. If a Feature is "\ "saveable, it may be modified by set-feature. Default values "\ "are vendor-specific and not changeable. Use set-feature to "\ @@ -4541,7 +4541,7 @@ ret: static int set_property(int argc, char **argv, struct command *cmd, struct plugin *plugin) { const char *desc = "Writes and shows the defined NVMe controller property "\ - "for NVMe ove Fabric"; + "for NVMe over Fabric"; const char *offset = "the offset of the property"; const char *value = "the value of the property to be set"; int fd, err; @@ -7274,7 +7274,7 @@ static int lockdown_cmd(int argc, char **argv, struct command *cmd, struct plugi if (fd < 0) goto ret; - /* check for input arguement limit */ + /* check for input argument limit */ if (cfg.ifc > 3) { fprintf(stderr, "invalid interface settings:%d\n", cfg.ifc); err = -1; diff --git a/plugins/shannon/shannon-nvme.c b/plugins/shannon/shannon-nvme.c index fcb21d4b..220638f0 100644 --- a/plugins/shannon/shannon-nvme.c +++ b/plugins/shannon/shannon-nvme.c @@ -160,7 +160,7 @@ static int get_additional_feature(int argc, char **argv, struct command *cmd, st "specified controller. Operating parameters are grouped "\ "and identified by Feature Identifiers; each Feature "\ "Identifier contains one or more attributes that may affect "\ - "behaviour of the feature. Each Feature has three possible "\ + "behavior of the feature. Each Feature has three possible "\ "settings: default, saveable, and current. If a Feature is "\ "saveable, it may be modified by set-feature. Default values "\ "are vendor-specific and not changeable. Use set-feature to "\