scsi: lpfc: Fix a typo

Change 'lenth' to 'length'.

Link: https://lore.kernel.org/r/20210322075645.25636-1-samirweng1979@163.com
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: wengjianfeng <wengjianfeng@yulong.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
wengjianfeng 2021-03-22 15:56:45 +08:00 committed by Martin K. Petersen
parent ae98ddf05f
commit 89bbf550ea

View file

@ -5154,7 +5154,7 @@ lpfc_idiag_mbxacc_write(struct file *file, const char __user *buf,
* 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 @@ lpfc_idiag_extacc_avail_get(struct lpfc_hba *phba, char *pbuffer, int len)
* 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 @@ lpfc_idiag_extacc_alloc_get(struct lpfc_hba *phba, char *pbuffer, int len)
* 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)