Skip to contentSkip to conversation

nvmet: fix comment typos in admin-cmd.c

PATCH New Minwoo Im 3 participants 3 messages Nov 7, 2017

Subsystems (2)
lore
Share & tools
lore

Minwoo Im

author
#0 lore raw

PATCH 1/1 nvmet: fix comment typos in admin-cmd.c

small typos fixed in admin-cmd.c

Signed-off-by Minwoo Im <minwoo.im.dev at gmail.com>
---
 drivers/nvme/target/admin-cmd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/nvme/target/admin-cmd.c +2 -2
index c4a0bf3..9a7d691 100644
@@ -300,7 +300,7 @@ static void nvmet_execute_identify_ns(struct nvmet_req *req)
 	}
 
 	/*
-	 * nuse = ncap = nsze isn't aways true, but we have no way to find
+	 * nuse = ncap = nsze isn't always true, but we have no way to find
 	 * that out from the underlying device.
 	 */
 	id->ncap = id->nuse = id->nsze =
@@ -424,7 +424,7 @@ static void nvmet_execute_identify_desclist(struct nvmet_req *req)
 }
 
 /*
- * A "mimimum viable" abort implementation: the command is mandatory in the
+ * A "minimum viable" abort implementation: the command is mandatory in the
  * spec, but we are not required to do any useful work.  We couldn't really
  * do a useful abort, so don't bother even with waiting for the command
  * to be exectuted and return immediately telling the command to abort
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 nvmet: fix comment typos in admin-cmd.c

Quoted 22 lines · Minwoo Im

small typos fixed in admin-cmd.c

Signed-off-by Minwoo Im <minwoo.im.dev at gmail.com>
---
  drivers/nvme/target/admin-cmd.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
drivers/nvme/target/admin-cmd.c +1 -1
index c4a0bf3..9a7d691 100644
@@ -300,7 +300,7 @@ static void nvmet_execute_identify_ns(struct nvmet_req *req)
  	}
 
  	/*
-	 * nuse = ncap = nsze isn't aways true, but we have no way to find
+	 * nuse = ncap = nsze isn't always true, but we have no way to find
  	 * that out from the underlying device.
  	 */
  	id->ncap = id->nuse = id->nsze =

drivers/nvme/target/admin-cmd.c static void nvmet_execute_identify_desclist(struct nvmet_req *req) · line 430

Quoted 8 lines
drivers/nvme/target/admin-cmd.c +1 -1
@@ -424,7 +424,7 @@ static void nvmet_execute_identify_desclist(struct nvmet_req *req)
  }
 
  /*
- * A "mimimum viable" abort implementation: the command is mandatory in the
+ * A "minimum viable" abort implementation: the command is mandatory in the
   * spec, but we are not required to do any useful work.  We couldn't really
   * do a useful abort, so don't bother even with waiting for the command
   * to be exectuted and return immediately telling the command to abort

Looks fine thanks,

Reviewed-by Max Gurtovoy <maxg at mellanox.com>