X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=crypto%2Fablkcipher.c;h=a854df2a5a4b860b223d6ad49f45255b0678e970;hb=be48b11573952b467676b24de87d637e33339e7d;hp=98a66103f4f23b1aafaec67e66116e74e1bf0c8c;hpb=f16a5e347835c6a0ba958535cf6e6c89d50463b8;p=firefly-linux-kernel-4.4.55.git diff --git a/crypto/ablkcipher.c b/crypto/ablkcipher.c index 98a66103f4f2..a854df2a5a4b 100644 --- a/crypto/ablkcipher.c +++ b/crypto/ablkcipher.c @@ -165,7 +165,7 @@ static inline int ablkcipher_next_slow(struct ablkcipher_request *req, p = kmalloc(n, GFP_ATOMIC); if (!p) - ablkcipher_walk_done(req, walk, -ENOMEM); + return ablkcipher_walk_done(req, walk, -ENOMEM); base = p + 1;