On Tue, Oct 29, 2019 at 11:32:30AM +0000, Colin King wrote: > From: Colin Ian King <colin.king@xxxxxxxxxxxxx> > > Currently when the call to crypto_engine_alloc_init fails the error > return path returns an uninitialized value in the variable err. Fix > this by setting err to -ENOMEM. > > Addresses-Coverity: ("Uninitialized scalar variable") > Fixes: 48fe583fe541 ("crypto: amlogic - Add crypto accelerator for amlogic GXL") > Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx> > --- > drivers/crypto/amlogic/amlogic-gxl-core.c | 1 + > 1 file changed, 1 insertion(+) Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt