[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8f1f70ffdf5f52347c47cad31bf0a7da@manjaro.org>
Date: Wed, 21 Aug 2024 10:55:38 +0200
From: Dragan Simic <dsimic@...jaro.org>
To: Heiko Stübner <heiko@...ech.de>
Cc: linux-rockchip@...ts.infradead.org, linux-phy@...ts.infradead.org,
vkoul@...nel.org, kishon@...nel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/3] phy: phy-rockchip-inno-usb2: Handle failed extcon
allocation better
On 2024-08-21 10:41, Heiko Stübner wrote:
> Am Mittwoch, 21. August 2024, 09:37:54 CEST schrieb Dragan Simic:
>> Return the actual error code upon failure to allocate extcon device,
>> instead
>> of hardcoding -ENOMEM. Use dev_err_probe() to also log appropriate
>> messages,
>> which is fine because the containing function is used in the probe
>> path.
>>
>> Helped-by: Heiko Stubner <heiko@...ech.de>
>
> How did I help with this? :-D
>
> Reviewed-by: Heiko Stuebner <heiko@...ech.de>
Thanks for your review. Well, you suggested that dev_err_probe() is
used. :)
Powered by blists - more mailing lists