* [PATCH] scsi: lpfc: lpfc_attr: deleted the repeated word
@ 2021-06-09 1:57 lijian_8010a29
2021-06-10 3:11 ` Martin K. Petersen
0 siblings, 1 reply; 2+ messages in thread
From: lijian_8010a29 @ 2021-06-09 1:57 UTC (permalink / raw)
To: james.smart, dick.kennedy, jejb, martin.petersen
Cc: linux-scsi, linux-kernel, lijian
From: lijian <lijian@yulong.com>
deleted the repeated word 'the' in the comments.
Signed-off-by: lijian <lijian@yulong.com>
---
drivers/scsi/lpfc/lpfc_attr.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c
index 0975a8b252a0..6bf76576527c 100644
--- a/drivers/scsi/lpfc/lpfc_attr.c
+++ b/drivers/scsi/lpfc/lpfc_attr.c
@@ -2255,7 +2255,7 @@ static inline bool lpfc_rangecheck(uint val, uint min, uint max)
/**
* lpfc_enable_bbcr_set: Sets an attribute value.
- * @phba: pointer the the adapter structure.
+ * @phba: pointer the adapter structure.
* @val: integer attribute value.
*
* Description:
@@ -2346,7 +2346,7 @@ lpfc_##attr##_show(struct device *dev, struct device_attribute *attr, \
* takes a default argument, a minimum and maximum argument.
*
* lpfc_##attr##_init: Initializes an attribute.
- * @phba: pointer the the adapter structure.
+ * @phba: pointer the adapter structure.
* @val: integer attribute value.
*
* Validates the min and max values then sets the adapter config field
@@ -2379,7 +2379,7 @@ lpfc_##attr##_init(struct lpfc_hba *phba, uint val) \
* into a function with the name lpfc_hba_queue_depth_set
*
* lpfc_##attr##_set: Sets an attribute value.
- * @phba: pointer the the adapter structure.
+ * @phba: pointer the adapter structure.
* @val: integer attribute value.
*
* Description:
@@ -2508,7 +2508,7 @@ lpfc_##attr##_show(struct device *dev, struct device_attribute *attr, \
* lpfc_##attr##_init: validates the min and max values then sets the
* adapter config field accordingly, or uses the default if out of range
* and prints an error message.
- * @phba: pointer the the adapter structure.
+ * @phba: pointer the adapter structure.
* @val: integer attribute value.
*
* Returns:
@@ -2540,7 +2540,7 @@ lpfc_##attr##_init(struct lpfc_vport *vport, uint val) \
* lpfc_##attr##_set: validates the min and max values then sets the
* adapter config field if in the valid range. prints error message
* and does not set the parameter if invalid.
- * @phba: pointer the the adapter structure.
+ * @phba: pointer the adapter structure.
* @val: integer attribute value.
*
* Returns:
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] scsi: lpfc: lpfc_attr: deleted the repeated word
2021-06-09 1:57 [PATCH] scsi: lpfc: lpfc_attr: deleted the repeated word lijian_8010a29
@ 2021-06-10 3:11 ` Martin K. Petersen
0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2021-06-10 3:11 UTC (permalink / raw)
To: lijian_8010a29
Cc: james.smart, dick.kennedy, jejb, martin.petersen, linux-scsi,
linux-kernel, lijian
lijian_8010a29@163.com,
> From: lijian <lijian@yulong.com>
Please make sure your From: and Signed-off-by: match the address you are
submitting from. Also, please send one patch per driver.
> /**
> * lpfc_enable_bbcr_set: Sets an attribute value.
> - * @phba: pointer the the adapter structure.
> + * @phba: pointer the adapter structure.
This doesn't make any sense. That should be "pointer to the adapter
structure". Same problem throughout.
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-10 3:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-09 1:57 [PATCH] scsi: lpfc: lpfc_attr: deleted the repeated word lijian_8010a29
2021-06-10 3:11 ` Martin K. Petersen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.