linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scsi: lpfc: Fix some typo error
@ 2021-03-22  7:56 samirweng1979
  2021-03-22 18:59 ` Randy Dunlap
  2021-03-30  3:54 ` Martin K. Petersen
  0 siblings, 2 replies; 3+ messages in thread
From: samirweng1979 @ 2021-03-22  7:56 UTC (permalink / raw)
  To: james.smart, dick.kennedy, jejb, martin.petersen
  Cc: linux-scsi, linux-kernel, wengjianfeng

From: wengjianfeng <wengjianfeng@yulong.com>

change 'lenth' to 'length'.

Signed-off-by: wengjianfeng <wengjianfeng@yulong.com>
---
 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)
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] scsi: lpfc: Fix some typo error
  2021-03-22  7:56 [PATCH] scsi: lpfc: Fix some typo error samirweng1979
@ 2021-03-22 18:59 ` Randy Dunlap
  2021-03-30  3:54 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2021-03-22 18:59 UTC (permalink / raw)
  To: samirweng1979, james.smart, dick.kennedy, jejb, martin.petersen
  Cc: linux-scsi, linux-kernel, wengjianfeng

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

Acked-by: Randy Dunlap <rdunlap@infradead.org>


> ---
>  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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] scsi: lpfc: Fix some typo error
  2021-03-22  7:56 [PATCH] scsi: lpfc: Fix some typo error samirweng1979
  2021-03-22 18:59 ` Randy Dunlap
@ 2021-03-30  3:54 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2021-03-30  3:54 UTC (permalink / raw)
  To: dick.kennedy, james.smart, jejb, samirweng1979
  Cc: Martin K . Petersen, linux-scsi, linux-kernel, wengjianfeng

On Mon, 22 Mar 2021 15:56:45 +0800, samirweng1979 wrote:

> change 'lenth' to 'length'.

Applied to 5.13/scsi-queue, thanks!

[1/1] scsi: lpfc: Fix some typo error
      https://git.kernel.org/mkp/scsi/c/89bbf550eafc

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-30  3:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-22  7:56 [PATCH] scsi: lpfc: Fix some typo error samirweng1979
2021-03-22 18:59 ` Randy Dunlap
2021-03-30  3:54 ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).