Skip to contentSkip to conversation

CRYPTO: async_tx: Fixed a couple of typos

PATCH In review Mickael Maison 1 participant 2 messages Nov 9, 2013 – Dec 19, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 CRYPTO: async_tx: Fixed a couple of typos

Fixed 2 typos in async_xor.c

---
 crypto/async_tx/async_xor.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
crypto/async_tx/async_xor.c +2 -2
index 8ade0a0..bcaa1e9 100644
@@ -48,7 +48,7 @@ do_async_xor(struct dma_chan *chan, struct page *dest, struct page **src_list,
 	int xor_src_cnt = 0;
 	dma_addr_t dma_dest;
 
-	/* map the dest bidrectional in case it is re-used as a source */
+	/* map the dest bidirectional in case it is re-used as a source */
 	dma_dest = dma_map_page(dma->dev, dest, offset, len, DMA_BIDIRECTIONAL);
 	for (i = 0; i < src_cnt; i++) {
 		/* only map the dest once */
@@ -175,7 +175,7 @@ do_sync_xor(struct page *dest, struct page **src_list, unsigned int offset,
  * xor_blocks always uses the dest as a source so the
  * ASYNC_TX_XOR_ZERO_DST flag must be set to not include dest data in
  * the calculation.  The assumption with dma eninges is that they only
- * use the destination buffer as a source when it is explicity specified
+ * use the destination buffer as a source when it is explicitly specified
  * in the source list.
  *
  * src_list note: if the dest is also a source it must be at index zero.
Signature · 1 line
1.7.10.4
#1 lore raw

Hi,

Are you interested in patches fixing typos ? I've found a bunch more under /crypto but as I haven't received any responses on this one, I'm not sure I should send new patches in.
This was my first patch so if I'm doing anything wrong, please tell me !

Mickael

Quoted 30 lines · Mickael Maison

Fixed 2 typos in async_xor.c

---
 crypto/async_tx/async_xor.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
crypto/async_tx/async_xor.c +2 -3
index 8ade0a0..bcaa1e9 100644
@@ -48,7 +48,7 @@ do_async_xor(struct dma_chan *chan, struct page *dest, struct page **src_list,
        int xor_src_cnt = 0;
        dma_addr_t dma_dest;
 
-       /* map the dest bidrectional in case it is re-used as a source */
+       /* map the dest bidirectional in case it is re-used as a source */
        dma_dest = dma_map_page(dma->dev, dest, offset, len, DMA_BIDIRECTIONAL);
        for (i = 0; i < src_cnt; i++) {
                /* only map the dest once */
@@ -175,7 +175,7 @@ do_sync_xor(struct page *dest, struct page **src_list, unsigned int offset,
  * xor_blocks always uses the dest as a source so the
  * ASYNC_TX_XOR_ZERO_DST flag must be set to not include dest data in
  * the calculation.  The assumption with dma eninges is that they only
- * use the destination buffer as a source when it is explicity specified
+ * use the destination buffer as a source when it is explicitly specified
  * in the source list.
  *
  * src_list note: if the dest is also a source it must be at index zero.
--

1.7.10.4