On Sat, Jun 13, 2020 at 04:41:28PM -0500, wu000...@umn.edu wrote:
> From: Qiushi Wu <wu000...@umn.edu>
> 
> Calling pm_runtime_get_sync increments the counter even in case of
> failure, causing incorrect ref count if pm_runtime_put_sync is not
> called in error handling paths. Thus replace the jump target
> "err_pm_get" by "err_clock".
> 
> Fixes: 6cd225cc5d8a ("hwrng: exynos - add Samsung Exynos True RNG driver")
> Signed-off-by: Qiushi Wu <wu000...@umn.edu>

1. Cc: <sta...@vger.kernel.org>
2. Subject prefix:
        hwrng: exynos - 
3. Subject title: Fix PM runtime reference count leak
   (no need for end stop)

With these changes:
Reviewed-by: Krzysztof Kozlowski <k...@kernel.org>

Best regards,
Krzysztof

Reply via email to