Re: [PATCH] char: hw_random: Fix a reference count leak.

2020-06-16 Thread Herbert Xu
On Mon, Jun 15, 2020 at 03:18:54PM +0200, Lukasz Stelmach wrote: > > I believe this fix has already been submitted > > > https://lore.kernel.org/linux-arm-kernel/20200522011659.26727-1-dinghao@zju.edu.cn/T/#u > > It hasn't been applied though. Anyway, thank you for your work. > > Herber

Re: [PATCH] char: hw_random: Fix a reference count leak.

2020-06-15 Thread Lukasz Stelmach
It was <2020-06-13 sob 16:41>, when wu000...@umn.edu wrote: > From: Qiushi Wu > > 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

Re: [PATCH] char: hw_random: Fix a reference count leak.

2020-06-14 Thread Krzysztof Kozlowski
On Sat, Jun 13, 2020 at 04:41:28PM -0500, wu000...@umn.edu wrote: > From: Qiushi Wu > > 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_

[PATCH] char: hw_random: Fix a reference count leak.

2020-06-13 Thread wu000273
From: Qiushi Wu 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