]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
nvme: Correct spelling check error
authorTokunori Ikegami <ikegami.t@gmail.com>
Fri, 8 Jul 2022 18:40:31 +0000 (03:40 +0900)
committerTokunori Ikegami <ikegami.t@gmail.com>
Fri, 8 Jul 2022 18:46:51 +0000 (03:46 +0900)
Signed-off-by: Tokunori Ikegami <ikegami.t@gmail.com>
Documentation/nvme-set-property.txt
fabrics.c
nvme.c
plugins/shannon/shannon-nvme.c

index 0d04f52e0504f07383e1797f2c4b3424dd9c52b0..ba90fd3b0ed40e0aad8afe096a89b696bc2b7ca3 100644 (file)
@@ -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
 -------
index 297c5c9c5f78589745e09e9c511669669ce983f1..58a7c31d5eca34c9b3a1ee31caa76b6d0ba59e09 100644 (file)
--- 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 08fbcbb2c149730b518e4457f50eb4083a21bd92..a2a9996a9ed409c4995333216942fa38aa692dd9 100644 (file)
--- 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;
index fcb21d4b5ebf5f4d3d861ed1e4df196866aae503..220638f02301e52c20fdcec9606dbe8ebef93399 100644 (file)
@@ -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 "\