lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 16 Feb 2023 23:24:15 -0800
From:   Randy Dunlap <rdunlap@...radead.org>
To:     Bo Liu <liubo03@...pur.com>, james.smart@...adcom.com,
        dick.kennedy@...adcom.com, jejb@...ux.ibm.com,
        martin.petersen@...cle.com
Cc:     linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: lpfc: Fix double word in comments

Hi--

On 2/16/23 23:17, Bo Liu wrote:
> Remove the repeated word "the" in comments.
> 
> Signed-off-by: Bo Liu <liubo03@...pur.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ