public inbox for linux-nvme@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 1/2] nvmem/core: fixup minor typo
@ 2025-12-16  3:29 Wilfred Mallawa
  2025-12-16  3:29 ` [PATCH 2/2] nvme/host: fixup some typos Wilfred Mallawa
  2025-12-17  1:39 ` [PATCH 1/2] nvmem/core: fixup minor typo Damien Le Moal
  0 siblings, 2 replies; 4+ messages in thread
From: Wilfred Mallawa @ 2025-12-16  3:29 UTC (permalink / raw)
  To: James Smart, Keith Busch, Jens Axboe, Christoph Hellwig,
	Sagi Grimberg, Srinivas Kandagatla
  Cc: linux-nvme, linux-kernel, Wilfred Mallawa

From: Wilfred Mallawa <wilfred.mallawa@wdc.com>

Signed-off-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>
---
 drivers/nvmem/core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c
index 980123fb4dde..d90ffd0e4085 100644
--- a/drivers/nvmem/core.c
+++ b/drivers/nvmem/core.c
@@ -1224,7 +1224,7 @@ static void devm_nvmem_device_release(struct device *dev, void *res)
 }
 
 /**
- * devm_nvmem_device_put() - put alredy got nvmem device
+ * devm_nvmem_device_put() - put already got nvmem device
  *
  * @dev: Device that uses the nvmem device.
  * @nvmem: pointer to nvmem device allocated by devm_nvmem_cell_get(),
@@ -1242,7 +1242,7 @@ void devm_nvmem_device_put(struct device *dev, struct nvmem_device *nvmem)
 EXPORT_SYMBOL_GPL(devm_nvmem_device_put);
 
 /**
- * nvmem_device_put() - put alredy got nvmem device
+ * nvmem_device_put() - put already got nvmem device
  *
  * @nvmem: pointer to nvmem device that needs to be released.
  */
-- 
2.52.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] nvme/host: fixup some typos
  2025-12-16  3:29 [PATCH 1/2] nvmem/core: fixup minor typo Wilfred Mallawa
@ 2025-12-16  3:29 ` Wilfred Mallawa
  2025-12-17  1:42   ` Damien Le Moal
  2025-12-17  1:39 ` [PATCH 1/2] nvmem/core: fixup minor typo Damien Le Moal
  1 sibling, 1 reply; 4+ messages in thread
From: Wilfred Mallawa @ 2025-12-16  3:29 UTC (permalink / raw)
  To: James Smart, Keith Busch, Jens Axboe, Christoph Hellwig,
	Sagi Grimberg, Srinivas Kandagatla
  Cc: linux-nvme, linux-kernel, Wilfred Mallawa

From: Wilfred Mallawa <wilfred.mallawa@wdc.com>

Signed-off-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>
---
 drivers/nvme/host/fc.c    | 2 +-
 drivers/nvme/host/ioctl.c | 4 ++--
 drivers/nvme/host/pci.c   | 6 +++---
 drivers/nvme/host/rdma.c  | 2 +-
 drivers/nvme/host/tcp.c   | 6 +++---
 5 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/drivers/nvme/host/fc.c b/drivers/nvme/host/fc.c
index 68a5d971657b..b9d629ac2c83 100644
--- a/drivers/nvme/host/fc.c
+++ b/drivers/nvme/host/fc.c
@@ -2513,7 +2513,7 @@ __nvme_fc_abort_outstanding_ios(struct nvme_fc_ctrl *ctrl, bool start_queues)
 	 * writing the registers for shutdown and polling (call
 	 * nvme_disable_ctrl()). Given a bunch of i/o was potentially
 	 * just aborted and we will wait on those contexts, and given
-	 * there was no indication of how live the controlelr is on the
+	 * there was no indication of how live the controller is on the
 	 * link, don't send more io to create more contexts for the
 	 * shutdown. Let the controller fail via keepalive failure if
 	 * its still present.
diff --git a/drivers/nvme/host/ioctl.c b/drivers/nvme/host/ioctl.c
index 3dfd5ae99ae0..c152e9441976 100644
--- a/drivers/nvme/host/ioctl.c
+++ b/drivers/nvme/host/ioctl.c
@@ -271,7 +271,7 @@ static bool nvme_validate_passthru_nsid(struct nvme_ctrl *ctrl,
 {
 	if (ns && nsid != ns->head->ns_id) {
 		dev_err(ctrl->device,
-			"%s: nsid (%u) in cmd does not match nsid (%u)"
+			"%s: nsid (%u) in cmd does not match nsid (%u) "
 			"of namespace\n",
 			current->comm, nsid, ns->head->ns_id);
 		return false;
@@ -696,7 +696,7 @@ int nvme_ns_head_ioctl(struct block_device *bdev, blk_mode_t mode,
 
 	/*
 	 * Handle ioctls that apply to the controller instead of the namespace
-	 * seperately and drop the ns SRCU reference early.  This avoids a
+	 * separately and drop the ns SRCU reference early. This avoids a
 	 * deadlock when deleting namespaces using the passthrough interface.
 	 */
 	if (is_ctrl_ioctl(cmd))
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index e6267a6aa380..7e0b7fab1e61 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -367,7 +367,7 @@ static bool nvme_dbbuf_update_and_check_event(u16 value, __le32 *dbbuf_db,
 		/*
 		 * Ensure that the doorbell is updated before reading the event
 		 * index from memory.  The controller needs to provide similar
-		 * ordering to ensure the envent index is updated before reading
+		 * ordering to ensure the event index is updated before reading
 		 * the doorbell.
 		 */
 		mb();
@@ -2741,7 +2741,7 @@ static void nvme_reset_work(struct work_struct *work)
 		goto out;
 
 	/*
-	 * Freeze and update the number of I/O queues as thos might have
+	 * Freeze and update the number of I/O queues as those might have
 	 * changed.  If there are no I/O queues left after this reset, keep the
 	 * controller around but remove all namespaces.
 	 */
@@ -2910,7 +2910,7 @@ static unsigned long check_vendor_combination_bug(struct pci_dev *pdev)
 		/*
 		 * Exclude some Kingston NV1 and A2000 devices from
 		 * NVME_QUIRK_SIMPLE_SUSPEND. Do a full suspend to save a
-		 * lot fo energy with s2idle sleep on some TUXEDO platforms.
+		 * lot of energy with s2idle sleep on some TUXEDO platforms.
 		 */
 		if (dmi_match(DMI_BOARD_NAME, "NS5X_NS7XAU") ||
 		    dmi_match(DMI_BOARD_NAME, "NS5x_7xAU") ||
diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c
index 20fdd40b1879..cccea72d2279 100644
--- a/drivers/nvme/host/rdma.c
+++ b/drivers/nvme/host/rdma.c
@@ -877,7 +877,7 @@ static int nvme_rdma_configure_io_queues(struct nvme_rdma_ctrl *ctrl, bool new)
 
 	/*
 	 * Only start IO queues for which we have allocated the tagset
-	 * and limitted it to the available queues. On reconnects, the
+	 * and limited it to the available queues. On reconnects, the
 	 * queue number might have changed.
 	 */
 	nr_queues = min(ctrl->tag_set.nr_hw_queues + 1, ctrl->ctrl.queue_count);
diff --git a/drivers/nvme/host/tcp.c b/drivers/nvme/host/tcp.c
index a6d596e05602..ab349a5a054a 100644
--- a/drivers/nvme/host/tcp.c
+++ b/drivers/nvme/host/tcp.c
@@ -26,7 +26,7 @@
 
 struct nvme_tcp_queue;
 
-/* Define the socket priority to use for connections were it is desirable
+/* Define the socket priority to use for connections where it is desirable
  * that the NIC consider performing optimized packet processing or filtering.
  * A non-zero value being sufficient to indicate general consideration of any
  * possible optimization.  Making it a module param allows for alternative
@@ -808,7 +808,7 @@ static int nvme_tcp_recv_data(struct nvme_tcp_queue *queue, struct sk_buff *skb,
 			req->curr_bio = req->curr_bio->bi_next;
 
 			/*
-			 * If we don`t have any bios it means that controller
+			 * If we don't have any bios it means that controller
 			 * sent more data than we requested, hence error
 			 */
 			if (!req->curr_bio) {
@@ -2017,7 +2017,7 @@ static int nvme_tcp_configure_io_queues(struct nvme_ctrl *ctrl, bool new)
 
 	/*
 	 * Only start IO queues for which we have allocated the tagset
-	 * and limitted it to the available queues. On reconnects, the
+	 * and limited it to the available queues. On reconnects, the
 	 * queue number might have changed.
 	 */
 	nr_queues = min(ctrl->tagset->nr_hw_queues + 1, ctrl->queue_count);
-- 
2.52.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] nvmem/core: fixup minor typo
  2025-12-16  3:29 [PATCH 1/2] nvmem/core: fixup minor typo Wilfred Mallawa
  2025-12-16  3:29 ` [PATCH 2/2] nvme/host: fixup some typos Wilfred Mallawa
@ 2025-12-17  1:39 ` Damien Le Moal
  1 sibling, 0 replies; 4+ messages in thread
From: Damien Le Moal @ 2025-12-17  1:39 UTC (permalink / raw)
  To: Wilfred Mallawa, James Smart, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Srinivas Kandagatla
  Cc: linux-nvme, linux-kernel, Wilfred Mallawa

On 12/16/25 12:29, Wilfred Mallawa wrote:
> From: Wilfred Mallawa <wilfred.mallawa@wdc.com>
> 
> Signed-off-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>

This is not nvme :) So this should be a separate patch.
Empty commit messages is also not great. Even if trivial, write something.

Nevertheless,

Reviewed-by: Damien Le Moal <dlemoal@kernel.org>

-- 
Damien Le Moal
Western Digital Research


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] nvme/host: fixup some typos
  2025-12-16  3:29 ` [PATCH 2/2] nvme/host: fixup some typos Wilfred Mallawa
@ 2025-12-17  1:42   ` Damien Le Moal
  0 siblings, 0 replies; 4+ messages in thread
From: Damien Le Moal @ 2025-12-17  1:42 UTC (permalink / raw)
  To: Wilfred Mallawa, James Smart, Keith Busch, Jens Axboe,
	Christoph Hellwig, Sagi Grimberg, Srinivas Kandagatla
  Cc: linux-nvme, linux-kernel, Wilfred Mallawa

On 12/16/25 12:29, Wilfred Mallawa wrote:
> From: Wilfred Mallawa <wilfred.mallawa@wdc.com>
> 
> Signed-off-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>

Looks good, but write something as the commit message.

One nit below.

Reviewed-by: Damien Le Moal <dlemoal@kernel.org>


> @@ -271,7 +271,7 @@ static bool nvme_validate_passthru_nsid(struct nvme_ctrl *ctrl,
>  {
>  	if (ns && nsid != ns->head->ns_id) {
>  		dev_err(ctrl->device,
> -			"%s: nsid (%u) in cmd does not match nsid (%u)"
> +			"%s: nsid (%u) in cmd does not match nsid (%u) "
>  			"of namespace\n",

I know that Christoph does not like long lines, but it may be better to unwrap
this message to make it easier to grep the code.


-- 
Damien Le Moal
Western Digital Research


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-12-17  1:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-16  3:29 [PATCH 1/2] nvmem/core: fixup minor typo Wilfred Mallawa
2025-12-16  3:29 ` [PATCH 2/2] nvme/host: fixup some typos Wilfred Mallawa
2025-12-17  1:42   ` Damien Le Moal
2025-12-17  1:39 ` [PATCH 1/2] nvmem/core: fixup minor typo Damien Le Moal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox