[PATCH] nvme: Fix typo error in nvme target

Chu Guangqing posted 1 patch 3 months, 1 week ago
drivers/nvme/target/admin-cmd.c | 2 +-
drivers/nvme/target/core.c      | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
[PATCH] nvme: Fix typo error in nvme target
Posted by Chu Guangqing 3 months, 1 week ago
Fix two spelling mistakes.

Signed-off-by: Chu Guangqing <chuguangqing@inspur.com>
---
 drivers/nvme/target/admin-cmd.c | 2 +-
 drivers/nvme/target/core.c      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/nvme/target/admin-cmd.c b/drivers/nvme/target/admin-cmd.c
index 3e378153a781..3da31bb1183e 100644
--- a/drivers/nvme/target/admin-cmd.c
+++ b/drivers/nvme/target/admin-cmd.c
@@ -708,7 +708,7 @@ static void nvmet_execute_identify_ctrl(struct nvmet_req *req)
 
 	/*
 	 * We don't really have a practical limit on the number of abort
-	 * comands.  But we don't do anything useful for abort either, so
+	 * commands.  But we don't do anything useful for abort either, so
 	 * no point in allowing more abort commands than the spec requires.
 	 */
 	id->acl = 3;
diff --git a/drivers/nvme/target/core.c b/drivers/nvme/target/core.c
index 5d7d483bfbe3..029a9f2420d3 100644
--- a/drivers/nvme/target/core.c
+++ b/drivers/nvme/target/core.c
@@ -40,7 +40,7 @@ EXPORT_SYMBOL_GPL(nvmet_wq);
  *  - the nvmet_transports array
  *
  * When updating any of those lists/structures write lock should be obtained,
- * while when reading (popolating discovery log page or checking host-subsystem
+ * while when reading (populating discovery log page or checking host-subsystem
  * link) read lock is obtained to allow concurrent reads.
  */
 DECLARE_RWSEM(nvmet_config_sem);
-- 
2.43.7
Re: [PATCH] nvme: Fix typo error in nvme target
Posted by Keith Busch 3 months ago
On Mon, Nov 03, 2025 at 10:41:31AM +0800, Chu Guangqing wrote:
> Fix two spelling mistakes.

Thanks, applied to nvme-6.19.
Re: [PATCH] nvme: Fix typo error in nvme target
Posted by Christoph Hellwig 3 months ago
On Mon, Nov 03, 2025 at 10:41:31AM +0800, Chu Guangqing wrote:
> Fix two spelling mistakes.

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>