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

Randy Dunlap <[email protected]>
Newsgroups gmane.linux.documentation,gmane.linux.kernel
Message-ID <[email protected]>

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 <[email protected]>

Reviewed-by: Randy Dunlap <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.