Re: [PATCH 1/4] crypto: talitos: dma_map_sg can handle chained SG

From: Christophe Leroy
Date: Wed Sep 23 2015 - 08:07:30 EST



Le 23/09/2015 13:55, LABBE Corentin a écrit :
The talitos 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 talitos_map_sg, talitos_unmap_sg_chain
and sg_count functions.


Shouldn't the replacement of sg_count() by sg_nents_for_len() be part of second patch ?

Christophe
--
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/