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

Jamie Iles jamie at jamieiles.com
Fri Nov 6 07:30:57 PST 2015


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 at gmail.com>

Acked-by: Jamie Iles <jamie at jamieiles.com>

thanks for doing this!

Jamie



More information about the linux-arm-kernel mailing list