]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: ixp4xx - Add missing npe_c release in error branches
authorQuentin Lambert <lambert.quentin@gmail.com>
Fri, 22 Jul 2016 13:32:41 +0000 (15:32 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 9 Aug 2016 10:47:03 +0000 (18:47 +0800)
commit991e816db2b33eb4c91bb974784cc824c14f1191
tree7e068ae6b0a03c0e755107df4225540358f86518
parent382150efaa1cdc10c6a250f7e8ec60751ad7055d
crypto: ixp4xx - Add missing npe_c release in error branches

Most error branches following the call to npe_request contain a call to
npe_request. This patch add a call to npe_release to error branches
following the call to npe_request that do not have it.

This issue was found with Hector.

Signed-off-by: Quentin Lambert <lambert.quentin@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ixp4xx_crypto.c