diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2018-01-08 03:57:10 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2018-03-27 03:51:22 -0400 |
commit | 2f097267e70e2775780bee117d0c62011b740f4c (patch) | |
tree | 820d034725c977399f584bd71b3b190216013010 | |
parent | 447a5647c9e7ab97780541f546a90e2620caa487 (diff) |
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>
-rw-r--r-- | drivers/misc/genwqe/card_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/genwqe/card_utils.c b/drivers/misc/genwqe/card_utils.c index 8f2e6442d88b..8679e0bd8ec2 100644 --- a/drivers/misc/genwqe/card_utils.c +++ b/drivers/misc/genwqe/card_utils.c | |||
@@ -453,7 +453,7 @@ int genwqe_setup_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl, | |||
453 | s += 8; /* continue 8 elements further */ | 453 | s += 8; /* continue 8 elements further */ |
454 | } | 454 | } |
455 | fixup: | 455 | fixup: |
456 | if (j == 1) { /* combining happend on last entry! */ | 456 | if (j == 1) { /* combining happened on last entry! */ |
457 | s -= 8; /* full shift needed on previous sgl block */ | 457 | s -= 8; /* full shift needed on previous sgl block */ |
458 | j = 7; /* shift all elements */ | 458 | j = 7; /* shift all elements */ |
459 | } | 459 | } |
@@ -471,7 +471,7 @@ int genwqe_setup_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl, | |||
471 | * genwqe_free_sync_sgl() - Free memory for sgl and overlapping pages | 471 | * genwqe_free_sync_sgl() - Free memory for sgl and overlapping pages |
472 | * | 472 | * |
473 | * After the DMA transfer has been completed we free the memory for | 473 | * After the DMA transfer has been completed we free the memory for |
474 | * the sgl and the cached pages. Data is being transfered from cached | 474 | * the sgl and the cached pages. Data is being transferred from cached |
475 | * pages into user-space buffers. | 475 | * pages into user-space buffers. |
476 | */ | 476 | */ |
477 | int genwqe_free_sync_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl) | 477 | int genwqe_free_sync_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl) |