Re: [PATCH] scsi: lpfc: Fix some typo error

From: Randy Dunlap
Date: Mon Mar 22 2021 - 15:01:36 EST


On 3/22/21 12:56 AM, samirweng1979 wrote:
> From: wengjianfeng <wengjianfeng@xxxxxxxxxx>
>
> change 'lenth' to 'length'.
>
> Signed-off-by: wengjianfeng <wengjianfeng@xxxxxxxxxx>

Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>


> ---
> drivers/scsi/lpfc/lpfc_debugfs.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/scsi/lpfc/lpfc_debugfs.c b/drivers/scsi/lpfc/lpfc_debugfs.c
> index 8c23806..658a962 100644
> --- a/drivers/scsi/lpfc/lpfc_debugfs.c
> +++ b/drivers/scsi/lpfc/lpfc_debugfs.c
> @@ -5154,7 +5154,7 @@ static int lpfc_idiag_cmd_get(const char __user *buf, size_t nbytes,
> * This routine is to get the available extent information.
> *
> * Returns:
> - * overall lenth of the data read into the internal buffer.
> + * overall length of the data read into the internal buffer.
> **/
> static int
> lpfc_idiag_extacc_avail_get(struct lpfc_hba *phba, char *pbuffer, int len)
> @@ -5205,7 +5205,7 @@ static int lpfc_idiag_cmd_get(const char __user *buf, size_t nbytes,
> * This routine is to get the allocated extent information.
> *
> * Returns:
> - * overall lenth of the data read into the internal buffer.
> + * overall length of the data read into the internal buffer.
> **/
> static int
> lpfc_idiag_extacc_alloc_get(struct lpfc_hba *phba, char *pbuffer, int len)
> @@ -5277,7 +5277,7 @@ static int lpfc_idiag_cmd_get(const char __user *buf, size_t nbytes,
> * This routine is to get the driver extent information.
> *
> * Returns:
> - * overall lenth of the data read into the internal buffer.
> + * overall length of the data read into the internal buffer.
> **/
> static int
> lpfc_idiag_extacc_drivr_get(struct lpfc_hba *phba, char *pbuffer, int len)
>


--
~Randy