Skip to contentSkip to conversation

nvme: rdma: Fix typo in struct comment

PATCH New Minwoo Im 4 participants 4 messages Apr 10, 2019 – Apr 25, 2019 NVMe

lore
Share & tools
lore

Minwoo Im

author
#0 lore raw

PATCH 1/1 nvme: rdma: Fix typo in struct comment

struct nvme_rdma_cm_rej has two different attributes: recfmt and sts. And sts will have value what this comment wanted to show.

Signed-off-by Minwoo Im <minwoo.im.dev at gmail.com>
---
 include/linux/nvme-rdma.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/nvme-rdma.h +1 -1
index 3aa97b98dc89..3ec8e50efa16 100644
@@ -77,7 +77,7 @@ struct nvme_rdma_cm_rep {
  * struct nvme_rdma_cm_rej - rdma connect reject
  *
  * @recfmt:        format of the RDMA Private Data
- * @fsts:          error status for the associated connect request
+ * @sts:           error status for the associated connect request
  */
 struct nvme_rdma_cm_rej {
 	__le16		recfmt;
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 nvme: rdma: Fix typo in struct comment

Looks good.

Reviewed-by Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>
Quoted 22 lines · Minwoo Im

struct nvme_rdma_cm_rej has two different attributes: recfmt and sts. And sts will have value what this comment wanted to show.

Signed-off-by Minwoo Im <minwoo.im.dev at gmail.com>
---
  include/linux/nvme-rdma.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/nvme-rdma.h +1 -1
index 3aa97b98dc89..3ec8e50efa16 100644
@@ -77,7 +77,7 @@ struct nvme_rdma_cm_rep {
   * struct nvme_rdma_cm_rej - rdma connect reject
   *
   * @recfmt:        format of the RDMA Private Data
- * @fsts:          error status for the associated connect request
+ * @sts:           error status for the associated connect request
   */
  struct nvme_rdma_cm_rej {
  	__le16		recfmt;