aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi
diff options
context:
space:
mode:
authorLABBE Corentin <[email protected]>2015-11-04 21:13:38 +0100
committerHerbert Xu <[email protected]>2015-11-17 22:00:38 +0800
commitf9970c2865d300bd0bb4ba006a0283a8ffa51ada (patch)
tree35f5e47600be22a103d1f798d893b989c22983ce /lib/mpi
parentf051f95eb47bb216ad0a8fbe64b4be179cc5abec (diff)
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 <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions