CRYPTO: async_tx: Fixed a couple of typos
Subsystems (2)
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
@@ -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
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@@ -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