diff options
author | 2015-11-04 21:13:38 +0100 | |
---|---|---|
committer | 2015-11-17 22:00:38 +0800 | |
commit | f9970c2865d300bd0bb4ba006a0283a8ffa51ada (patch) | |
tree | 35f5e47600be22a103d1f798d893b989c22983ce /lib/mpi/mpicoder.c | |
parent | crypto: picoxcell - check return value of sg_nents_for_len (diff) | |
download | linux-dev-f9970c2865d300bd0bb4ba006a0283a8ffa51ada.tar.xz linux-dev-f9970c2865d300bd0bb4ba006a0283a8ffa51ada.zip |
crypto: caam - 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.
We do the same for sg_count since it use sg_nents_for_len().
Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions