Skip to contentSkip to conversation

IB/iser: fix typos in iscsi_iser.c comments

PATCH Applied Imanol 3 participants 3 messages Feb 17, 2025 – Feb 18, 2025

Subsystems (2)
lore
Share & tools
lore

Imanol

author
#0 lore raw

PATCH v2 1/1 IB/iser: fix typos in iscsi_iser.c 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 v2 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.
   */

looks good,