GenWQE: Fix a typo in two comments

Add a missing character in two words of these descriptions.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Frank Haverkamp <haver@linux.vnet.ibm.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
Markus Elfring 2018-01-08 09:57:10 +01:00 committed by Jiri Kosina
parent 447a5647c9
commit 2f097267e7

View File

@ -453,7 +453,7 @@ int genwqe_setup_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl,
s += 8; /* continue 8 elements further */ s += 8; /* continue 8 elements further */
} }
fixup: fixup:
if (j == 1) { /* combining happend on last entry! */ if (j == 1) { /* combining happened on last entry! */
s -= 8; /* full shift needed on previous sgl block */ s -= 8; /* full shift needed on previous sgl block */
j = 7; /* shift all elements */ j = 7; /* shift all elements */
} }
@ -471,7 +471,7 @@ int genwqe_setup_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl,
* genwqe_free_sync_sgl() - Free memory for sgl and overlapping pages * genwqe_free_sync_sgl() - Free memory for sgl and overlapping pages
* *
* After the DMA transfer has been completed we free the memory for * After the DMA transfer has been completed we free the memory for
* the sgl and the cached pages. Data is being transfered from cached * the sgl and the cached pages. Data is being transferred from cached
* pages into user-space buffers. * pages into user-space buffers.
*/ */
int genwqe_free_sync_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl) int genwqe_free_sync_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl)