Re: [PATCH 5/7] crypto: picoxcell: check return value of sg_nents_for_len

From: Jamie Iles
Date: Fri Nov 06 2015 - 10:31:10 EST


On Wed, Nov 04, 2015 at 09:13:37PM +0100, LABBE Corentin wrote:
> The sg_nents_for_len() function could fail, this patch add a check for
> its return value.
> In the same time, we remove sg_count() as it is used as an alias of
> sg_nents_for_len.
>
> Signed-off-by: LABBE Corentin <clabbe.montjoie@xxxxxxxxx>

Acked-by: Jamie Iles <jamie@xxxxxxxxxxxxx>

thanks for doing this!

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