[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <pnd7bx2j2pi.a.out@axis.com>
Date: Fri, 10 Oct 2025 15:39:21 +0200
From: Waqar Hameed <waqar.hameed@...s.com>
To: Vinod Koul <vkoul@...nel.org>, Kishon Vijay Abraham I <kishon@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>, Alim Akhtar <alim.akhtar@...sung.com>
CC: <kernel@...s.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: [PATCH v2] phy: exynos5-usbdrd: Remove error print for
devm_add_action_or_reset()
On Tue, Aug 05, 2025 at 11:33 +0200 Waqar Hameed <waqar.hameed@...s.com> wrote:
> When `devm_add_action_or_reset()` fails, it is due to a failed memory
> allocation and will thus return `-ENOMEM`. `dev_err_probe()` doesn't do
> anything when error is `-ENOMEM`. Therefore, remove the useless call to
> `dev_err_probe()` when `devm_add_action_or_reset()` fails, and just
> return the value instead.
Friendly ping incoming!
Powered by blists - more mailing lists