[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175719510781.45380.7018471850966283088.b4-ty@collabora.com>
Date: Sat, 06 Sep 2025 23:45:07 +0200
From: Sebastian Reichel <sebastian.reichel@...labora.com>
To: Sebastian Reichel <sre@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>,
Waqar Hameed <waqar.hameed@...s.com>
Cc: kernel@...s.com, linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-mediatek@...ts.infradead.org
Subject: Re: [PATCH v2] power: supply: Remove error prints for
devm_add_action_or_reset()
On Tue, 05 Aug 2025 11:33:35 +0200, Waqar Hameed 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.
>
>
> [...]
Applied, thanks!
[1/1] power: supply: Remove error prints for devm_add_action_or_reset()
commit: 32f350d58544e2529dc8798275684e97f0a2df6f
Best regards,
--
Sebastian Reichel <sebastian.reichel@...labora.com>
Powered by blists - more mailing lists