[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175680083942.2184860.11235957894379015646.b4-ty@kernel.org>
Date: Tue, 02 Sep 2025 09:13:59 +0100
From: Lee Jones <lee@...nel.org>
To: Sven Peter <sven@...nel.org>, Janne Grunau <j@...nau.net>,
Alyssa Rosenzweig <alyssa@...enzweig.io>, Neal Gompa <neal@...pa.dev>,
Lee Jones <lee@...nel.org>, Waqar Hameed <waqar.hameed@...s.com>
Cc: kernel@...s.com, asahi@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: (subset) [PATCH v2] mfd: macsmc: Remove error prints for
devm_add_action_or_reset()
On Tue, 05 Aug 2025 11:33:34 +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] mfd: macsmc: Remove error prints for devm_add_action_or_reset()
commit: 342c84507bfc197a0a9fddd6f076befefd5e6c25
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists