* [PATCH] regulator: fixed: Remove print on allocation failure
@ 2022-03-24 20:18 Mark Brown
2022-04-05 9:32 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2022-03-24 20:18 UTC (permalink / raw)
To: Liam Girdwood; +Cc: linux-kernel, Mark Brown
OOMs are very verbose, we don't need to print an additional error message
when we fail to allocate.
Signed-off-by: Mark Brown <broonie@kernel.org>
---
drivers/regulator/fixed.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/regulator/fixed.c b/drivers/regulator/fixed.c
index 9159755cde73..57f656857580 100644
--- a/drivers/regulator/fixed.c
+++ b/drivers/regulator/fixed.c
@@ -236,11 +236,8 @@ static int reg_fixed_voltage_probe(struct platform_device *pdev)
drvdata->desc.supply_name = devm_kstrdup(&pdev->dev,
config->input_supply,
GFP_KERNEL);
- if (!drvdata->desc.supply_name) {
- dev_err(&pdev->dev,
- "Failed to allocate input supply\n");
+ if (!drvdata->desc.supply_name)
return -ENOMEM;
- }
}
if (config->microvolts)
--
2.30.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] regulator: fixed: Remove print on allocation failure
2022-03-24 20:18 [PATCH] regulator: fixed: Remove print on allocation failure Mark Brown
@ 2022-04-05 9:32 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2022-04-05 9:32 UTC (permalink / raw)
To: broonie, lgirdwood; +Cc: linux-kernel
On Thu, 24 Mar 2022 20:18:54 +0000, Mark Brown wrote:
> OOMs are very verbose, we don't need to print an additional error message
> when we fail to allocate.
>
>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
Thanks!
[1/1] regulator: fixed: Remove print on allocation failure
commit: 6c315afe65d05dc6eebf2d6b73a191990aada218
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-05 15:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-24 20:18 [PATCH] regulator: fixed: Remove print on allocation failure Mark Brown
2022-04-05 9:32 ` Mark Brown
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.