Re: [PATCH] crypto: omap-aes: Fix broken pm_runtime_and_get() usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 17, 2021 at 10:03:30AM +0100, Heiner Kallweit wrote:
> This fix is basically the same as 3d6b661330a7 ("crypto: stm32 -
> Revert broken pm_runtime_resume_and_get changes"), just for the omap
> driver. If the return value isn't used, then pm_runtime_get_sync()
> has to be used for ensuring that the usage count is balanced.
> 
> Fixes: 1f34cc4a8da3 ("crypto: omap-aes - Fix PM reference leak on omap-aes.c")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Heiner Kallweit <hkallweit1@xxxxxxxxx>
> ---
>  drivers/crypto/omap-aes.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

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



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux