scsi: libiscsi: fix spelling and format errors
PATCH 1/1 scsi: libiscsi: fix spelling and format errors
Fix two issues in libiscsi.c:
- Correct typo "numer" to "number" in iscsi_session_setup() comment
- Fix format string "seconds\n." to "seconds.\n" in recv timeout warning
--- drivers/scsi/libiscsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/libiscsi.c +2 -2
@@ -3012,7 +3012,7 @@ static void iscsi_host_dec_session_cnt(struct Scsi_Host *shost)* This can be used by software iscsi_transports that allocate * a session per scsi host. * -* Callers should set cmds_max to the largest total numer (mgmt + scsi) of +* Callers should set cmds_max to the largest total number (mgmt + scsi) of * tasks they support. The iscsi layer reserves ISCSI_MGMT_CMDS_MAX tasks * for nop handling and login/logout requests. */
@@ -3307,7 +3307,7 @@ int iscsi_conn_start(struct iscsi_cls_conn *cls_conn)if (conn->ping_timeout && !conn->recv_timeout) {iscsi_conn_printk (KERN_ERR , conn,"invalid recv timeout of " -"zero. Using 5 seconds\n." ); +"zero. Using 5 seconds.\n" ); conn->recv_timeout =5 ; }
Signature · 1 line
2.25.1
Quoted 5 lines · Wang Yan
Fix two issues in
libiscsi.c:
- Correct typo "numer" to "number" iniscsi_session_setup()comment
- Fix format string "seconds\n." to "seconds.\n" in recv timeout warningSigned-off-by Wang Yan <[email protected]>
Quoted 6 lines · Wang Yan
Fix two issues in
libiscsi.c:
- Correct typo "numer" to "number" iniscsi_session_setup()comment
- Fix format string "seconds\n." to "seconds.\n" in recv timeout warningSigned-off-by Wang Yan <[email protected]>---
Sure, that looks fine.
Quoted 28 lines
drivers/scsi/libiscsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/scsi/libiscsi.c +2
-2@@ -3012,7 +3012,7 @@ static void iscsi_host_dec_session_cnt(struct Scsi_Host *shost)* This can be used by software iscsi_transports that allocate * a session per scsi host. * -* Callers should set cmds_max to the largest total numer (mgmt + scsi) of +* Callers should set cmds_max to the largest total number (mgmt + scsi) of * tasks they support. The iscsi layer reserves ISCSI_MGMT_CMDS_MAX tasks * for nop handling and login/logout requests. */ @@ -3307,7 +3307,7 @@ int iscsi_conn_start(struct iscsi_cls_conn *cls_conn)if (conn->ping_timeout && !conn->recv_timeout) {iscsi_conn_printk (KERN_ERR , conn,"invalid recv timeout of " -"zero. Using 5 seconds\n." ); +"zero. Using 5 seconds.\n" ); conn->recv_timeout =5 ; }Signature · 1 line
2.25.1
Martin K. Petersen
AppliedWang,
Quoted 3 lines
Fix two issues in
libiscsi.c:
- Correct typo "numer" to "number" iniscsi_session_setup()comment
- Fix format string "seconds\n." to "seconds.\n" in recv timeout warning
Applied to 7.2/scsi-staging, thanks!
Signature · 1 line
Martin K. Petersen
Martin K. Petersen
AppliedQuoted 5 lines · Wang Yan
Fix two issues in
libiscsi.c:
- Correct typo "numer" to "number" iniscsi_session_setup()comment
- Fix format string "seconds\n." to "seconds.\n" in recv timeout warning
Applied to 7.2/scsi-queue, thanks!
[1/1] scsi: libiscsi: fix spelling and format errors
https://git.kernel.org/mkp/scsi/c/250ba648f42d
Signature · 1 line
Martin K. Petersen