Thread (3 messages) 3 messages, 3 authors, 2021-05-21

Re: [PATCH] crypto: ccp - Fix a resource leak in an error handling path

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2021-05-21 08:23:42
Also in: kernel-janitors, lkml

On Sun, May 16, 2021 at 08:58:04AM +0200, Christophe JAILLET wrote:
If an error occurs after calling 'sp_get_irqs()', 'sp_free_irqs()' must be
called as already done in the error handling path.

Fixes: f4d18d656f88 ("crypto: ccp - Abstract interrupt registeration")
Signed-off-by: Christophe JAILLET <redacted>
---
 drivers/crypto/ccp/sp-pci.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
Patch applied.  Thanks.
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help