2022-07-15 07:31:55

by Yi Jiangshan

[permalink] [raw]
Subject: [PATCH] scsi: qla2xxx: Fix spelling typo in comment

From: Jiangshan Yi <[email protected]>

Fix spelling typo in comment.

Reported-by: k2ci <[email protected]>
Signed-off-by: Jiangshan Yi <[email protected]>
---
drivers/scsi/qla2xxx/qla_init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 3f3417a3e891..b8a9f923fb32 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -6661,7 +6661,7 @@ qla2x00_loop_resync(scsi_qla_host_t *vha)
* Description: This function will set the appropriate flags and call
* qla2x00_loop_resync. If successful loop will be resynced
* Arguments : scsi_qla_host_t pointer
-* returm : Success or Failure
+* return : Success or Failure
*/

int qla2x00_perform_loop_resync(scsi_qla_host_t *ha)
--
2.25.1


2022-07-16 14:06:54

by Bart Van Assche

[permalink] [raw]
Subject: Re: [PATCH] scsi: qla2xxx: Fix spelling typo in comment

On 7/15/22 00:17, Jiangshan Yi wrote:
> diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
> index 3f3417a3e891..b8a9f923fb32 100644
> --- a/drivers/scsi/qla2xxx/qla_init.c
> +++ b/drivers/scsi/qla2xxx/qla_init.c
> @@ -6661,7 +6661,7 @@ qla2x00_loop_resync(scsi_qla_host_t *vha)
> * Description: This function will set the appropriate flags and call
> * qla2x00_loop_resync. If successful loop will be resynced
> * Arguments : scsi_qla_host_t pointer
> -* returm : Success or Failure
> +* return : Success or Failure
> */

Please convert the entire function header into kernel-doc format instead
of only fixing the spelling error shown above.

Thanks,

Bart.