summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/caam/caamhash.c
diff options
context:
space:
mode:
authorLABBE Corentin <clabbe.montjoie@gmail.com>2015-11-04 21:13:37 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2015-11-17 22:00:37 +0800
commitf051f95eb47bb216ad0a8fbe64b4be179cc5abec (patch)
tree4cf479b4bce86933f752df2c98f30253065ae983 /drivers/crypto/caam/caamhash.c
parent4fa9948ca5bf308fabd5c9b584bf710f5d393859 (diff)
downloadtalos-op-linux-f051f95eb47bb216ad0a8fbe64b4be179cc5abec.tar.gz
talos-op-linux-f051f95eb47bb216ad0a8fbe64b4be179cc5abec.zip
crypto: picoxcell - 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. 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@gmail.com> Acked-by: Jamie Iles <jamie@jamieiles.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/caamhash.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud