Re: [PATCH 1/7] docs: cpu_hotplug: Fix multi-instance removal calls

From: Randy Dunlap

Date: Sat Aug 22 2026 - 13:25:43 EST




On 8/22/26 5:16 AM, Karl Mehltretter wrote:
> The function is named cpuhp_state_remove_instance(), not
> cpuhp_remove_instance().
>
> Fixes: c9871c800f65 ("Documentation: core-api/cpuhotplug: Rewrite the API section")
> Assisted-by: Codex:gpt-5.6-sol
> Signed-off-by: Karl Mehltretter <kmehltretter@xxxxxxxxx>

Reviewed-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Thanks.

> ---
> Documentation/core-api/cpu_hotplug.rst | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/core-api/cpu_hotplug.rst b/Documentation/core-api/cpu_hotplug.rst
> index 6de26d1c6a9ad..f8b3f59a3d5f7 100644
> --- a/Documentation/core-api/cpu_hotplug.rst
> +++ b/Documentation/core-api/cpu_hotplug.rst
> @@ -607,9 +607,9 @@ ONLINE section for notifications on online and offline operation::
> if (ret)
> return ret;
> ....
> - cpuhp_remove_instance(state, &inst1->node);
> + cpuhp_state_remove_instance(state, &inst1->node);
> ....
> - cpuhp_remove_instance(state, &inst2->node);
> + cpuhp_state_remove_instance(state, &inst2->node);
> ....
> cpuhp_remove_multi_state(state);
>

--
~Randy