From: Jonathan Corbet <corbet@lwn.net>
To: Costa Shulyupin <costa.shul@redhat.com>,
Shuah Khan <skhan@linuxfoundation.org>,
Ryan Cheevers <cheeversr0@gmail.com>,
Costa Shulyupin <costa.shul@redhat.com>,
Waiman Long <longman@redhat.com>,
Frederic Weisbecker <frederic@kernel.org>,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1] docs: housekeeping: Fix struct member access in code example
Date: Sun, 03 May 2026 08:47:01 -0600 [thread overview]
Message-ID: <87wlxkczyy.fsf@trenco.lwn.net> (raw)
In-Reply-To: <20260501043855.980567-1-costa.shul@redhat.com>
Costa Shulyupin <costa.shul@redhat.com> writes:
> No such array housekeeping_cpumasks
>
> Fix to housekeeping.cpumasks.
>
> Signed-off-by: Costa Shulyupin <costa.shul@redhat.com>
> ---
> Documentation/core-api/housekeeping.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/core-api/housekeeping.rst b/Documentation/core-api/housekeeping.rst
> index 92c6e53cea75..ccb0a88b9cb3 100644
> --- a/Documentation/core-api/housekeeping.rst
> +++ b/Documentation/core-api/housekeeping.rst
> @@ -99,7 +99,7 @@ the same RCU read side critical section.
> A typical layout example would look like this on the update side
> (``housekeeping_update()``)::
>
> - rcu_assign_pointer(housekeeping_cpumasks[type], trial);
> + rcu_assign_pointer(housekeeping.cpumasks[type], trial);
> synchronize_rcu();
This looks actively wrong to me. I think it should be:
housekeeping_cpumask(type)
... Frederic ... ?
jon
prev parent reply other threads:[~2026-05-03 14:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-01 4:38 [PATCH v1] docs: housekeeping: Fix struct member access in code example Costa Shulyupin
2026-05-03 14:47 ` Jonathan Corbet [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wlxkczyy.fsf@trenco.lwn.net \
--to=corbet@lwn.net \
--cc=cheeversr0@gmail.com \
--cc=costa.shul@redhat.com \
--cc=frederic@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=longman@redhat.com \
--cc=skhan@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox