Skip to contentSkip to conversation

infiniband: iscsi_iser: fix typos in comments

PATCH In review Imanol 2 participants 3 messages Feb 16, 2025 – Feb 17, 2025

Subsystems (2)
lore
Share & tools
lore

Imanol

author
#0 lore raw

PATCH 1/1 infiniband: iscsi_iser: fix typos in comments

Fixes multiple occurrences of the misspelled word "occured" in the comments of iscsi_iser.c, replacing them with the correct spelling "occurred".

This improves readability without affecting functionality.

---
 drivers/infiniband/ulp/iser/iscsi_iser.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/infiniband/ulp/iser/iscsi_iser.c +4 -4
index bb9aaff92ca3..a5be6f1ba12b 100644
@@ -393,10 +393,10 @@ static void iscsi_iser_cleanup_task(struct iscsi_task *task)
  * @task:     iscsi task
  * @sector:   error sector if exsists (output)
  *
- * Return: zero if no data-integrity errors have occured
- *         0x1: data-integrity error occured in the guard-block
- *         0x2: data-integrity error occured in the reference tag
- *         0x3: data-integrity error occured in the application tag
+ * Return: zero if no data-integrity errors have occurred
+ *         0x1: data-integrity error occurred in the guard-block
+ *         0x2: data-integrity error occurred in the reference tag
+ *         0x3: data-integrity error occurred in the application tag
  *
  *         In addition the error sector is marked.
  */
Signature · 1 line
2.43.0
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 19 lines · Imanol

Fixes multiple occurrences of the misspelled word "occured" in the comments of iscsi_iser.c, replacing them with the correct spelling "occurred".

This improves readability without affecting functionality.

---
  drivers/infiniband/ulp/iser/iscsi_iser.c | 8 ++++----
  1 file changed, 4 insertions(+), 4 deletions(-)
drivers/infiniband/ulp/iser/iscsi_iser.c +0 -1
index bb9aaff92ca3..a5be6f1ba12b 100644
@@ -393,10 +393,10 @@ static void iscsi_iser_cleanup_task(struct iscsi_task *task)
   * @task:     iscsi task
   * @sector:   error sector if exsists (output)
   *
- * Return: zero if no data-integrity errors have occured

drivers/infiniband/ulp/iser/iscsi_iser.c static void iscsi_iser_cleanup_task(struct iscsi_task *task) · line 402

Quoted 10 lines
drivers/infiniband/ulp/iser/iscsi_iser.c +4 -3
- *         0x1: data-integrity error occured in the guard-block
- *         0x2: data-integrity error occured in the reference tag
- *         0x3: data-integrity error occured in the application tag
+ * Return: zero if no data-integrity errors have occurred
+ *         0x1: data-integrity error occurred in the guard-block
+ *         0x2: data-integrity error occurred in the reference tag
+ *         0x3: data-integrity error occurred in the application tag
   *
   *         In addition the error sector is marked.
   */

We usually use: "IB/iser:" prefix in the commit msg subject.

Can you please replace "infiniband: iscsi_iser: fix typos in comments" with "IB/iser: fix typos in iscsi_iser.c comments" ?

Other than that, looks good.

#2 lore raw

Thanks for the review. I have sent PATCH v2 with the updated commit title as suggested.

Quoted 41 lines · Max Gurtovoy
Quoted 19 lines · Imanol

Fixes multiple occurrences of the misspelled word "occured" in the comments of iscsi_iser.c, replacing them with the correct spelling "occurred".

This improves readability without affecting functionality.

---
   drivers/infiniband/ulp/iser/iscsi_iser.c | 8 ++++----
   1 file changed, 4 insertions(+), 4 deletions(-)
drivers/infiniband/ulp/iser/iscsi_iser.c +0 -1
index bb9aaff92ca3..a5be6f1ba12b 100644
@@ -393,10 +393,10 @@ static void iscsi_iser_cleanup_task(struct iscsi_task *task)
    * @task:     iscsi task
    * @sector:   error sector if exsists (output)
    *
- * Return: zero if no data-integrity errors have occured

drivers/infiniband/ulp/iser/iscsi_iser.c static void iscsi_iser_cleanup_task(struct iscsi_task *task) · line 402

Quoted 10 lines
drivers/infiniband/ulp/iser/iscsi_iser.c +4 -3
- *         0x1: data-integrity error occured in the guard-block
- *         0x2: data-integrity error occured in the reference tag
- *         0x3: data-integrity error occured in the application tag
+ * Return: zero if no data-integrity errors have occurred
+ *         0x1: data-integrity error occurred in the guard-block
+ *         0x2: data-integrity error occurred in the reference tag
+ *         0x3: data-integrity error occurred in the application tag
    *
    *         In addition the error sector is marked.
    */

We usually use: "IB/iser:" prefix in the commit msg subject.

Can you please replace "infiniband: iscsi_iser: fix typos in comments" with "IB/iser: fix typos in iscsi_iser.c comments" ?

Other than that, looks good.