From: Randy Dunlap <rdunlap@infradead.org>
To: Bo Liu <liubo03@inspur.com>,
james.smart@broadcom.com, dick.kennedy@broadcom.com,
jejb@linux.ibm.com, martin.petersen@oracle.com
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] scsi: lpfc: Fix double word in comments
Date: Thu, 16 Feb 2023 23:24:15 -0800 [thread overview]
Message-ID: <538fa87c-63c7-fe27-d466-796f3fc1e6c2@infradead.org> (raw)
In-Reply-To: <20230217071705.2857-1-liubo03@inspur.com>
Hi--
On 2/16/23 23:17, Bo Liu wrote:
> Remove the repeated word "the" in comments.
>
> Signed-off-by: Bo Liu <liubo03@inspur.com>
> ---
> drivers/scsi/lpfc/lpfc_attr.c | 10 +++++-----
> drivers/scsi/lpfc/lpfc_els.c | 2 +-
> drivers/scsi/lpfc/lpfc_hbadisc.c | 2 +-
> drivers/scsi/lpfc/lpfc_init.c | 4 ++--
> drivers/scsi/lpfc/lpfc_mbox.c | 4 ++--
> drivers/scsi/lpfc/lpfc_nvmet.c | 2 +-
> drivers/scsi/lpfc/lpfc_sli.c | 2 +-
> 7 files changed, 13 insertions(+), 13 deletions(-)
>
> diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c
> index 76c3434f8976..1a32b3f93d77 100644
> --- a/drivers/scsi/lpfc/lpfc_attr.c
> +++ b/drivers/scsi/lpfc/lpfc_attr.c
> @@ -2541,7 +2541,7 @@ lpfc_sriov_hw_max_virtfn_show(struct device *dev,
>
> /**
> * lpfc_enable_bbcr_set: Sets an attribute value.
> - * @phba: pointer the the adapter structure.
pointer to the adapter structure.
Same for all of these:
> + * @phba: pointer the adapter structure.
> * @val: integer attribute value.
> *
> * Description:
> @@ -2632,7 +2632,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
> @@ -2665,7 +2665,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:
> @@ -2794,7 +2794,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:
> @@ -2826,7 +2826,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:
> diff --git a/drivers/scsi/lpfc/lpfc_mbox.c b/drivers/scsi/lpfc/lpfc_mbox.c
> index 9858b1743769..cebb3d7598e5 100644
> --- a/drivers/scsi/lpfc/lpfc_mbox.c
> +++ b/drivers/scsi/lpfc/lpfc_mbox.c
> @@ -2509,7 +2509,7 @@ lpfc_sli4_dump_page_a0(struct lpfc_hba *phba, struct lpfcMboxq *mbox)
> * information via a READ_FCF mailbox command. This mailbox command also is used
> * to indicate where received unsolicited frames from this FCF will be sent. By
> * default this routine will set up the FCF to forward all unsolicited frames
> - * the the RQ ID passed in the @phba. This can be overridden by the caller for
to the
> + * the RQ ID passed in the @phba. This can be overridden by the caller for
> * more complicated setups.
> **/
> void
> @@ -2577,7 +2577,7 @@ lpfc_reg_fcfi(struct lpfc_hba *phba, struct lpfcMboxq *mbox)
> * information via a READ_FCF mailbox command. This mailbox command also is used
> * to indicate where received unsolicited frames from this FCF will be sent. By
> * default this routine will set up the FCF to forward all unsolicited frames
> - * the the RQ ID passed in the @phba. This can be overridden by the caller for
to the
> + * the RQ ID passed in the @phba. This can be overridden by the caller for
> * more complicated setups.
> **/
> void
--
~Randy
next prev parent reply other threads:[~2023-02-17 7:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-17 7:17 Bo Liu
2023-02-17 7:24 ` Randy Dunlap [this message]
2023-02-17 8:30 Bo Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=538fa87c-63c7-fe27-d466-796f3fc1e6c2@infradead.org \
--to=rdunlap@infradead.org \
--cc=dick.kennedy@broadcom.com \
--cc=james.smart@broadcom.com \
--cc=jejb@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=liubo03@inspur.com \
--cc=martin.petersen@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®