Messages in this thread | | | Date | Mon, 15 Jun 2020 08:58:46 +0200 | From | Krzysztof Kozlowski <> | Subject | Re: [PATCH] char: hw_random: Fix a reference count leak. |
| |
On Sat, Jun 13, 2020 at 04:41:28PM -0500, wu000273@umn.edu wrote: > From: Qiushi Wu <wu000273@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 <wu000273@umn.edu>
1. Cc: <stable@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 <krzk@kernel.org>
Best regards, Krzysztof
| |