crypto: caam - fix smatch warnings
authorHoria Geantă <horia.geanta@nxp.com>
Wed, 9 Nov 2016 08:46:15 +0000 (10:46 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 13 Nov 2016 09:45:09 +0000 (17:45 +0800)
commitc530e34140612855ab00f9190a19c41953aa0749
tree0379719583c4e8f4769bca6463e934fa1dd233b4
parent8439e94fceb3812989bae41922567123cffd1cf7
crypto: caam - fix smatch warnings

Fix the following smatch warnings:

drivers/crypto/caam/caamalg.c:2350 aead_edesc_alloc() warn: we tested 'src_nents' before and it was 'true'
drivers/crypto/caam/caamrng.c:351 caam_rng_init() error: no modifiers for allocation.

Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamalg.c
drivers/crypto/caam/caamrng.c