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

From: Stanimir Varbanov
Date: Wed Sep 23 2015 - 15:48:09 EST


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@xxxxxxxxx>
> ---
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/