* [PATCH v2] nvme/host: fixup some typos
@ 2026-01-05 4:08 Wilfred Mallawa
2026-01-07 10:09 ` Christoph Hellwig
0 siblings, 1 reply; 5+ messages in thread
From: Wilfred Mallawa @ 2026-01-05 4:08 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>
Fixup some minor typos in the nvme host drivers.
Signed-off-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
---
drivers/nvme/host/ioctl.c | 2 +-
drivers/nvme/host/tcp.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/nvme/host/ioctl.c b/drivers/nvme/host/ioctl.c
index a9c097dacad6..62d4bff7ebdd 100644
--- a/drivers/nvme/host/ioctl.c
+++ b/drivers/nvme/host/ioctl.c
@@ -718,7 +718,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
- * separately 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/tcp.c b/drivers/nvme/host/tcp.c
index 69cb04406b47..8d389399187d 100644
--- a/drivers/nvme/host/tcp.c
+++ b/drivers/nvme/host/tcp.c
@@ -25,7 +25,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
@@ -926,7 +926,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] 5+ messages in thread
* Re: [PATCH v2] nvme/host: fixup some typos
2026-01-05 4:08 [PATCH v2] nvme/host: fixup some typos Wilfred Mallawa
@ 2026-01-07 10:09 ` Christoph Hellwig
2026-01-07 10:33 ` Wilfred Mallawa
0 siblings, 1 reply; 5+ messages in thread
From: Christoph Hellwig @ 2026-01-07 10:09 UTC (permalink / raw)
To: Wilfred Mallawa
Cc: Keith Busch, Jens Axboe, Christoph Hellwig, Sagi Grimberg,
linux-nvme, linux-kernel, Wilfred Mallawa, Damien Le Moal
Bit: the subject prefix is we usually use is just "nvme: ".
> /*
> * Handle ioctls that apply to the controller instead of the namespace
> - * separately and drop the ns SRCU reference early. This avoids a
> + * separately and drop the ns SRCU reference early. This avoids a
I don't see a typo here, just a reformatting to a different comment
style not very commonly used in the nvme code.
> -/* Define the socket priority to use for connections were it is desirable
> +/* Define the socket priority to use for connections where it is desirable
The change looks good, but if you touch this, you might as well fix up
the comment style to match the normal kernel style:
/*
* Define the socket priority to use for connections where it is desirable
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2] nvme/host: fixup some typos
2026-01-07 10:09 ` Christoph Hellwig
@ 2026-01-07 10:33 ` Wilfred Mallawa
2026-01-07 13:15 ` hch
0 siblings, 1 reply; 5+ messages in thread
From: Wilfred Mallawa @ 2026-01-07 10:33 UTC (permalink / raw)
To: hch
Cc: kbusch@kernel.org, dlemoal@kernel.org, axboe@kernel.dk,
sagi@grimberg.me, linux-nvme@lists.infradead.org,
linux-kernel@vger.kernel.org
On Wed, 2026-01-07 at 11:09 +0100, Christoph Hellwig wrote:
> Bit: the subject prefix is we usually use is just "nvme: ".
>
> > /*
> > * Handle ioctls that apply to the controller instead of
> > the namespace
> > - * separately and drop the ns SRCU reference early. This
> > avoids a
> > + * separately and drop the ns SRCU reference early. This
> > avoids a
>
> I don't see a typo here, just a reformatting to a different comment
> style not very commonly used in the nvme code.
It's just the extra white space before the "This avoids". Is that not a
typo?
>
> > -/* Define the socket priority to use for connections were it is
> > desirable
> > +/* Define the socket priority to use for connections where it is
> > desirable
>
> The change looks good, but if you touch this, you might as well fix
> up
> the comment style to match the normal kernel style:
>
> /*
> * Define the socket priority to use for connections where it is
> desirable
Ah no worries, will fixup!
Wilfred
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2] nvme/host: fixup some typos
2026-01-07 10:33 ` Wilfred Mallawa
@ 2026-01-07 13:15 ` hch
2026-01-07 23:09 ` Wilfred Mallawa
0 siblings, 1 reply; 5+ messages in thread
From: hch @ 2026-01-07 13:15 UTC (permalink / raw)
To: Wilfred Mallawa
Cc: hch, kbusch@kernel.org, dlemoal@kernel.org, axboe@kernel.dk,
sagi@grimberg.me, linux-nvme@lists.infradead.org,
linux-kernel@vger.kernel.org
On Wed, Jan 07, 2026 at 10:33:37AM +0000, Wilfred Mallawa wrote:
> > I don't see a typo here, just a reformatting to a different comment
> > style not very commonly used in the nvme code.
>
> It's just the extra white space before the "This avoids". Is that not a
> typo?
Double spaces after the end of a sentence is common style for fixed
width font text and recommended by various (usually older) coding
guidelines. But even typesetting for variable-sided fonts sometimes
add extra space, in TeX this is known as "french spacing"
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2] nvme/host: fixup some typos
2026-01-07 13:15 ` hch
@ 2026-01-07 23:09 ` Wilfred Mallawa
0 siblings, 0 replies; 5+ messages in thread
From: Wilfred Mallawa @ 2026-01-07 23:09 UTC (permalink / raw)
To: hch
Cc: kbusch@kernel.org, axboe@kernel.dk, dlemoal@kernel.org,
linux-nvme@lists.infradead.org, sagi@grimberg.me,
linux-kernel@vger.kernel.org
On Wed, 2026-01-07 at 14:15 +0100, hch wrote:
> On Wed, Jan 07, 2026 at 10:33:37AM +0000, Wilfred Mallawa wrote:
> > > I don't see a typo here, just a reformatting to a different
> > > comment
> > > style not very commonly used in the nvme code.
> >
> > It's just the extra white space before the "This avoids". Is that
> > not a
> > typo?
>
> Double spaces after the end of a sentence is common style for fixed
> width font text and recommended by various (usually older) coding
> guidelines. But even typesetting for variable-sided fonts sometimes
> add extra space, in TeX this is known as "french spacing"
>
Ah I see, thanks for letting me know!
Wilfred
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-01-07 23:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-05 4:08 [PATCH v2] nvme/host: fixup some typos Wilfred Mallawa
2026-01-07 10:09 ` Christoph Hellwig
2026-01-07 10:33 ` Wilfred Mallawa
2026-01-07 13:15 ` hch
2026-01-07 23:09 ` Wilfred Mallawa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox