public inbox for linux-nvme@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v3] nvme/host: fixup some typos
@ 2026-01-11 23:39 Wilfred Mallawa
  2026-01-12  6:52 ` Damien Le Moal
  2026-01-13  8:25 ` Christoph Hellwig
  0 siblings, 2 replies; 3+ messages in thread
From: Wilfred Mallawa @ 2026-01-11 23:39 UTC (permalink / raw)
  To: Keith Busch, Jens Axboe, Christoph Hellwig, Sagi Grimberg,
	linux-nvme, linux-kernel
  Cc: Wilfred Mallawa, Damien Le Moal

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

Fix up some minor typos in the nvme host driver and a comment
style to conform to the standard kernel style.

Signed-off-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
---
V3:
        - Fixup the comment to standarn kernel style
        - Drop french style spacing removal.
---
 drivers/nvme/host/tcp.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/nvme/host/tcp.c b/drivers/nvme/host/tcp.c
index 69cb04406b47..92749f6d0f96 100644
--- a/drivers/nvme/host/tcp.c
+++ b/drivers/nvme/host/tcp.c
@@ -25,7 +25,8 @@
 
 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
@@ -926,7 +927,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) {
-- 
2.52.0



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

* Re: [PATCH v3] nvme/host: fixup some typos
  2026-01-11 23:39 [PATCH v3] nvme/host: fixup some typos Wilfred Mallawa
@ 2026-01-12  6:52 ` Damien Le Moal
  2026-01-13  8:25 ` Christoph Hellwig
  1 sibling, 0 replies; 3+ messages in thread
From: Damien Le Moal @ 2026-01-12  6:52 UTC (permalink / raw)
  To: Wilfred Mallawa, Keith Busch, Jens Axboe, Christoph Hellwig,
	Sagi Grimberg, linux-nvme, linux-kernel
  Cc: Wilfred Mallawa

On 1/12/26 00:39, Wilfred Mallawa wrote:
> From: Wilfred Mallawa <wilfred.mallawa@wdc.com>
> 
> Fix up some minor typos in the nvme host driver and a comment
> style to conform to the standard kernel style.
> 
> Signed-off-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>
> Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
> ---
> V3:
>         - Fixup the comment to standarn kernel style
>         - Drop french style spacing removal.
> ---
>  drivers/nvme/host/tcp.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/nvme/host/tcp.c b/drivers/nvme/host/tcp.c
> index 69cb04406b47..92749f6d0f96 100644
> --- a/drivers/nvme/host/tcp.c
> +++ b/drivers/nvme/host/tcp.c
> @@ -25,7 +25,8 @@
>  
>  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
> @@ -926,7 +927,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

Since you are correcting things, please do correct the grammar too:
...that the controller... :)

Personally, I prefer a more formal style, so I would also change "don't" into
"do not".

>  			 * sent more data than we requested, hence error
>  			 */
>  			if (!req->curr_bio) {


-- 
Damien Le Moal
Western Digital Research


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

* Re: [PATCH v3] nvme/host: fixup some typos
  2026-01-11 23:39 [PATCH v3] nvme/host: fixup some typos Wilfred Mallawa
  2026-01-12  6:52 ` Damien Le Moal
@ 2026-01-13  8:25 ` Christoph Hellwig
  1 sibling, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2026-01-13  8:25 UTC (permalink / raw)
  To: Wilfred Mallawa
  Cc: Keith Busch, Jens Axboe, Christoph Hellwig, Sagi Grimberg,
	linux-nvme, linux-kernel, Wilfred Mallawa, Damien Le Moal

Looks good:

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



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

end of thread, other threads:[~2026-01-13  8:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-11 23:39 [PATCH v3] nvme/host: fixup some typos Wilfred Mallawa
2026-01-12  6:52 ` Damien Le Moal
2026-01-13  8:25 ` Christoph Hellwig

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