Skip to content
Snippets Groups Projects
Commit 7aff7d0a authored by LABBE Corentin's avatar LABBE Corentin Committed by Herbert Xu
Browse files

crypto: amcc - check return value of sg_nents_for_len


The sg_nents_for_len() function could fail, this patch add a check for
its return value.

Signed-off-by: default avatarLABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent f9970c28
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment