Re: [PATCH v3] soc: samsung: exynos-pmu: fix error paths in cpuhotplug/idle states setup

From: Krzysztof Kozlowski

Date: Sat Oct 03 2026 - 09:47:09 EST



On Wed, 30 Sep 2026 00:50:31 +0100, Alexey Klimov wrote:
> The setup_cpuhp_and_cpuidle() initialisation sequence currently ignores
> the return values of cpuhp_setup_state(), cpu_pm_register_notifier(), and
> register_reboot_notifier(). If any of these registrations fail during
> probe() routine, the driver returns 0, leaving the driver partially
> configured.
>
> Furthermore, if anything after setup_cpuhp_and_cpuidle() fails in probe()
> routine, for instance devm_mfd_add_devices(), the probe() lacks an error
> path and leaves notifiers and cpu hotplug states registered.
>
> [...]

Applied, thanks!

[1/1] soc: samsung: exynos-pmu: fix error paths in cpuhotplug/idle states setup
https://git.kernel.org/krzk/linux/c/f7b2b6acf658be412b0c4746d07d210a9e18f13b

Best regards,
--
Krzysztof Kozlowski <krzk@xxxxxxxxxx>