[PATCH] genwqe: fix comment typos

Ruslan Vagner posted 1 patch 1 week, 2 days ago
drivers/misc/genwqe/card_base.c | 2 +-
drivers/misc/genwqe/card_ddcb.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
[PATCH] genwqe: fix comment typos
Posted by Ruslan Vagner 1 week, 2 days ago
Fix the spelling in comments. No functional change.

Signed-off-by: Ruslan Vagner <rusya92266@gmail.com>
---
 drivers/misc/genwqe/card_base.c | 2 +-
 drivers/misc/genwqe/card_ddcb.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/misc/genwqe/card_base.c b/drivers/misc/genwqe/card_base.c
index e602eb3c51fa..c9d6261e6356 100644
--- a/drivers/misc/genwqe/card_base.c
+++ b/drivers/misc/genwqe/card_base.c
@@ -904,7 +904,7 @@ static int genwqe_reload_bistream(struct genwqe_dev *cd)
  *
  * Condition for the health-thread to trigger:
  *   a) when a kthread_stop() request comes in or
- *   b) a critical GFIR occured
+ *   b) a critical GFIR occurred
  *
  * Informational GFIRs are checked and potentially printed in
  * GENWQE_HEALTH_CHECK_INTERVAL seconds.
diff --git a/drivers/misc/genwqe/card_ddcb.c b/drivers/misc/genwqe/card_ddcb.c
index 969178573940..97de35231042 100644
--- a/drivers/misc/genwqe/card_ddcb.c
+++ b/drivers/misc/genwqe/card_ddcb.c
@@ -543,7 +543,7 @@ int __genwqe_wait_ddcb(struct genwqe_dev *cd,
struct ddcb_requ *req)
 		return -EINVAL;
 	}

-	/* Severe error occured. Driver is forced to stop operation */
+	/* Severe error occurred. Driver is forced to stop operation */
 	if (cd->card_state != GENWQE_CARD_USED) {
 		dev_err(&pci_dev->dev,
 			"[%s] err: DDCB#%d forced to stop (rc=%d)\n",
-- 
2.54.0.windows.1