[PATCH v1 1/1] nvmet-tcp: fix typos in tcp.c

Xixin Liu liuxixin at kylinos.cn
Thu Jun 4 03:00:00 PDT 2026


Align nvmet-tcp comment and log wording with the initiator driver.
No functional change.

Signed-off-by: Xixin Liu <liuxixin at kylinos.cn>
---
 drivers/nvme/target/tcp.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/nvme/target/tcp.c b/drivers/nvme/target/tcp.c
index 20f150d17a96..92f206d72198 100644
--- a/drivers/nvme/target/tcp.c
+++ b/drivers/nvme/target/tcp.c
@@ -51,7 +51,8 @@ static const struct kernel_param_ops set_param_ops = {
 	.get	= param_get_int,
 };
 
-/* 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
@@ -985,7 +986,7 @@ static int nvmet_tcp_handle_h2c_data_pdu(struct nvmet_tcp_queue *queue)
 
 	if (likely(queue->nr_cmds)) {
 		if (unlikely(data->ttag >= queue->nr_cmds)) {
-			pr_err("queue %d: received out of bound ttag %u, nr_cmds %u\n",
+			pr_err("queue %d: received out of bounds ttag %u, nr_cmds %u\n",
 				queue->idx, data->ttag, queue->nr_cmds);
 			goto err_proto;
 		}
 
-- 
2.43.0




More information about the Linux-nvme mailing list