Re: [PATCH 4/7] lib: introduce sg_nents_for_len2

From: LABBE Corentin
Date: Fri Sep 18 2015 - 08:20:59 EST


On Fri, Sep 18, 2015 at 07:53:00PM +0800, Herbert Xu wrote:
> On Thu, Sep 10, 2015 at 03:21:39PM +0200, LABBE Corentin wrote:
> > Some driver use a modified version of sg_nents_for_len with an
> > additional parameter bool *chained for knowing if the scatterlist is
> > chained or not.
> >
> > So, for removing duplicate code, add sg_nents_for_len2 in
> > lib/scatterlist.c
>
> This name is rather awkward. Perhaps sg_nents_len_chained?

Perfect, thanks

I will send the modified patch series with this function name soon.

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