[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180126154641.GJ4002@gondor.apana.org.au>
Date: Fri, 26 Jan 2018 23:46:41 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Alexey Khoroshilov <khoroshilov@...ras.ru>
Cc: Jamie Iles <jamie@...ieiles.com>,
Javier Martinez Canillas <javier@....samsung.com>,
"David S. Miller" <davem@...emloft.net>,
linux-arm-kernel@...ts.infradead.org, linux-crypto@...r.kernel.org,
linux-kernel@...r.kernel.org, ldv-project@...uxtesting.org
Subject: Re: [PATCH] crypto: picoxcell - Fix error handling in spacc_probe()
On Sat, Jan 20, 2018 at 12:53:15AM +0300, Alexey Khoroshilov wrote:
> If clk_get() fails, device_remove_file() looks inappropriate.
>
> The error path, where all crypto_register fail, misses resource
> deallocations.
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Alexey Khoroshilov <khoroshilov@...ras.ru>
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists