misc: genwqe: Rudimentary typo fixes
Subsystems (2)
PATCH 1/1 misc: genwqe: Rudimentary typo fixes
s/requsted/requested/ .....two different places.
s/equests/requests/
s/occured/occurred/ ......two different places.
s/conditon/condition/
s/requestors/requesters/
--- drivers/misc/genwqe/card_ddcb.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
drivers/misc/genwqe/card_ddcb.c +7 -7
@@ -316,7 +316,7 @@ static int enqueue_ddcb(struct genwqe_dev *cd, struct ddcb_queue *queue,/** * copy_ddcb_results() - Copy output state from real DDCB to request -* @req: pointer to requsted DDCB parameters +* @req: pointer to requested DDCB parameters * @ddcb_no: pointer to ddcb number being tapped * * Copy DDCB ASV to request struct. There is no endian
@@ -356,7 +356,7 @@ static void copy_ddcb_results(struct ddcb_requ *req, int ddcb_no) }/** -* genwqe_check_ddcb_queue() - Checks DDCB queue for completed work equests. +* genwqe_check_ddcb_queue() - Checks DDCB queue for completed work requests. * @cd: pointer to genwqe device descriptor * @queue: queue to be checked *
@@ -460,7 +460,7 @@ static int genwqe_check_ddcb_queue(struct genwqe_dev *cd,/** * __genwqe_wait_ddcb(): Waits until DDCB is completed * @cd: pointer to genwqe device descriptor -* @req: pointer to requsted DDCB parameters +* @req: pointer to requested DDCB parameters * * The Service Layer will update the RETC in DDCB when processing is * pending or done.
@@ -498,7 +498,7 @@ int __genwqe_wait_ddcb(struct genwqe_dev *cd, struct ddcb_requ *req)/* * We need to distinguish 3 cases here: -* 1. rc == 0 timeout occured +* 1. rc == 0 timeout occurred * 2. rc == -ERESTARTSYS signal received * 3. rc > 0 remaining jiffies condition is true */
@@ -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",
@@ -1002,7 +1002,7 @@ static int genwqe_next_ddcb_ready(struct genwqe_dev *cd)* @cd: pointer to genwqe device descriptor * * Keep track on the number of DDCBs which ware currently in the -* queue. This is needed for statistics as well as conditon if we want +* queue. This is needed for statistics as well as condition if we want * to wait or better do polling in case of no interrupts available. */ int genwqe_ddcbs_in_flight (struct genwqe_dev *cd)
@@ -1182,7 +1182,7 @@ static irqreturn_t genwqe_vf_isr(int irq, void *dev_id)* * The idea is to check if there are DDCBs in processing. If there are * some finished DDCBs, we process them and wakeup the -* requestors. Otherwise we give other processes time using +* requesters. Otherwise we give other processes time using * cond_resched(). */ static int genwqe_card_thread (void *data)
--
2.30.1
Quoted 20 lines · Bhaskar Chowdhury
s/requsted/requested/ .....two different places.
s/equests/requests/
s/occured/occurred/ ......two different places.
s/conditon/condition/
s/requestors/requesters/Signed-off-by Bhaskar Chowdhury <[email protected]>--- drivers/misc/genwqe/card_ddcb.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)drivers/misc/genwqe/card_ddcb.c +0
-0
drivers/misc/genwqe/card_ddcb.c static irqreturn_t genwqe_vf_isr(int irq, void *dev_id) · line 1185
Quoted 5 lines
drivers/misc/genwqe/card_ddcb.c +1
-1@@ -1182,7 +1182,7 @@ static irqreturn_t genwqe_vf_isr(int irq, void *dev_id)* * The idea is to check if there are DDCBs in processing. If there are * some finished DDCBs, we process them and wakeup the -* requestors. Otherwise we give other processes time using +* requesters. Otherwise we give other processes time using
"requestor" seems to be a word AFAICT.
drivers/misc/genwqe/card_ddcb.c static irqreturn_t genwqe_vf_isr(int irq, void *dev_id)
Quoted 4 lines
drivers/misc/genwqe/card_ddcb.c +0
-1* cond_resched(). */ static int genwqe_card_thread (void *data) --
and codespell says (for linux-next):
drivers/misc/genwqe/card_ddcb.c:985: emtpy ==> empty
The other changes LGTM.
Signature · 1 line
~Randy
Quoted 20 lines · Randy Dunlap
Quoted 17 lines · Bhaskar Chowdhury
s/requsted/requested/ .....two different places.
s/equests/requests/
s/occured/occurred/ ......two different places.
s/conditon/condition/
s/requestors/requesters/Signed-off-by Bhaskar Chowdhury <[email protected]>--- drivers/misc/genwqe/card_ddcb.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)drivers/misc/genwqe/card_ddcb.c +0
-0
Quoted 8 lines
drivers/misc/genwqe/card_ddcb.c static irqreturn_t genwqe_vf_isr(int irq, void *dev_id) · line 1185
Quoted 6 lines
drivers/misc/genwqe/card_ddcb.c +1
-1@@ -1182,7 +1182,7 @@ static irqreturn_t genwqe_vf_isr(int irq, void *dev_id)* * The idea is to check if there are DDCBs in processing. If there are * some finished DDCBs, we process them and wakeup the -* requestors. Otherwise we give other processes time using +* requesters. Otherwise we give other processes time using "requestor" seems to be a word AFAICT.
It was certainly not showing to me , that was why the change.Let me go back and check, if I missed it.
Quoted 10 lines
drivers/misc/genwqe/card_ddcb.c static irqreturn_t genwqe_vf_isr(int irq, void *dev_id)
Quoted 5 lines
drivers/misc/genwqe/card_ddcb.c +0
-1* cond_resched(). */ static int genwqe_card_thread (void *data) --and codespell says (for linux-next):
drivers/misc/genwqe/card_ddcb.c:985: emtpy ==> empty
Thanks, good catch...will do a V2 ...
Quoted 6 lines
The other changes LGTM.
--
~Randy