[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7da30fdc-cef7-879a-69ef-6993e05beda5@linaro.org>
Date: Thu, 7 Apr 2022 11:19:46 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Kishon Vijay Abraham I <kishon@...com>,
Vinod Koul <vkoul@...nel.org>,
Alim Akhtar <alim.akhtar@...sung.com>,
Girish K S <ks.giri@...sung.com>,
Yuvaraj Kumar C D <yuvaraj.cd@...il.com>,
Vasanth Ananthan <vasanth.a@...sung.com>,
linux-phy@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [RESEND PATCH 2/2] phy: samsung: exynos5250-sata: fix missing
device put in probe error paths
On 07/04/2022 11:18, Krzysztof Kozlowski wrote:
> The actions of of_find_i2c_device_by_node() in probe function should be
> reversed in error paths by putting the reference to obtained device.
>
> Fixes: bcff4cba41bc ("PHY: Exynos: Add Exynos5250 SATA PHY driver")
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
> ---
> drivers/phy/samsung/phy-exynos5250-sata.c | 20 ++++++++++++++------
> 1 file changed, 14 insertions(+), 6 deletions(-)
I forgot:
Reviewed-by: Alim Akhtar <alim.akhtar@...sung.com>
https://lore.kernel.org/all/018501d834eb$01e62ad0$05b28070$@samsung.com/
Best regards,
Krzysztof
Powered by blists - more mailing lists