Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1233991

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

From LABBE Corentin <clabbe.montjoie@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/4] crypto: talitos: dma_map_sg can handle chained SG
Date 2015-09-28 11:50 +0200
Message-ID <qdDej-1XB-41@gated-at.bofh.it> (permalink)
References <qbQSm-3fk-5@gated-at.bofh.it> <qbQSm-3fk-7@gated-at.bofh.it> <qbR22-3Gg-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Sep 23, 2015 at 02:07:22PM +0200, Christophe Leroy wrote:
> 
> 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 ?
> 

No because I remove also the chained argument of sg_count, so splitting this patch
with a dedicated patch for removing sg_count is not good.

Regards

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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/4] crypto: talitos: dma_map_sg can handle chained SG LABBE Corentin <clabbe.montjoie@gmail.com> - 2015-09-23 14:00 +0200
  Re: [PATCH 1/4] crypto: talitos: dma_map_sg can handle chained SG Christophe Leroy <christophe.leroy@c-s.fr> - 2015-09-23 14:10 +0200
    Re: [PATCH 1/4] crypto: talitos: dma_map_sg can handle chained SG LABBE Corentin <clabbe.montjoie@gmail.com> - 2015-09-28 11:50 +0200

csiph-web