lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aAuN8i5p1HlEkFn6@Red>
Date: Fri, 25 Apr 2025 15:28:18 +0200
From: Corentin Labbe <clabbe.montjoie@...il.com>
To: Ovidiu Panait <ovidiu.panait.oss@...il.com>
Cc: herbert@...dor.apana.org.au, davem@...emloft.net,
	linux-crypto@...r.kernel.org, wens@...e.org,
	jernej.skrabec@...il.com, samuel@...lland.org,
	linux-arm-kernel@...ts.infradead.org, linux-sunxi@...ts.linux.dev,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 4/4] crypto: sun8i-ce-cipher - use
 pm_runtime_resume_and_get()

Le Fri, Apr 25, 2025 at 03:45:17PM +0300, Ovidiu Panait a écrit :
> Replace pm_runtime_get_sync() usage with pm_runtime_resume_and_get() to
> simplify error handling.
> 
> This is recommended in the documentation of pm_runtime_get_sync():
> /**
>  * pm_runtime_get_sync - Bump up usage counter of a device and resume it.
> ...
>  * Consider using pm_runtime_resume_and_get() instead of it, especially
>  * if its return value is checked by the caller, as this is likely to result
>  * in cleaner code.
> ...
>  */
> 

Tested-by: Corentin LABBE <clabbe.montjoie@...il.com>
Acked-by: Corentin LABBE <clabbe.montjoie@...il.com>

Thanks
Regards

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ