Thread (16 messages) 16 messages, 4 authors, 2015-11-04

Re: [PATCH 2/4] crypto: qce: dma_map_sg can handle chained SG

From: Stanimir Varbanov <hidden>
Date: 2015-09-23 19:48:07
Also in: lkml

Hi,

On 09/23/2015 02:55 PM, LABBE Corentin wrote:
The qce driver use two dma_map_sg path according to SG are chained
or not.
Since dma_map_sg can handle both case, clean the code with all
references to sg chained.

Thus removing qce_mapsg, qce_unmapsg and qce_countsg functions.

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
---
 drivers/crypto/qce/ablkcipher.c | 30 ++++++++----------------
 drivers/crypto/qce/cipher.h     |  4 ----
 drivers/crypto/qce/dma.c        | 52 -----------------------------------------
 drivers/crypto/qce/dma.h        |  5 ----
 drivers/crypto/qce/sha.c        | 14 ++++-------
 drivers/crypto/qce/sha.h        |  2 --
 6 files changed, 15 insertions(+), 92 deletions(-)
Thanks for the patch, very nice diffstat.

I will take care to test the patch next week.


regards,
Stan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help