From: Mark Rutland <mark.rutland@arm.com>
To: Randy Dunlap <rdunlap@infradead.org>
Cc: linux-kernel@vger.kernel.org, Chris Zankel <chris@zankel.net>,
Max Filippov <jcmvbkbc@gmail.com>, Will Deacon <will@kernel.org>,
Peter Zijlstra <peterz@infradead.org>,
Boqun Feng <boqun@kernel.org>, Gary Guo <gary@garyguo.net>
Subject: Re: [PATCH v2] xtensa: atomics: drop kernel-doc comments
Date: Wed, 22 Jul 2026 18:53:10 +0100 [thread overview]
Message-ID: <amEDhh_5GUjcCABL@J2N7QTR9R3> (raw)
In-Reply-To: <20260721020023.3463952-1-rdunlap@infradead.org>
On Mon, Jul 20, 2026 at 07:00:23PM -0700, Randy Dunlap wrote:
> The arch-specific kernel-doc comments were supposed to be deleted in
> commit: ef558b4b7bbb
> ("locking/atomic: treewide: delete arch_atomic_*() kerneldoc"), [1]
> but these were missed, so delete them now.
>
> Warning: ./arch/xtensa/include/asm/atomic.h:45 expecting prototype for
> atomic_read(). Prototype was for arch_atomic_read() instead
> Warning: ./arch/xtensa/include/asm/atomic.h:54 expecting prototype for
> atomic_set(). Prototype was for arch_atomic_set() instead
>
> Link [1]:
> https://lore.kernel.org/all/al3q54jxOKZujYue@J2N7QTR9R3.cambridge.arm.com/
> Fixes: ef558b4b7bbb ("locking/atomic: treewide: delete arch_atomic_*() kerneldoc")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Thanks for this!
Acked-by: Mark Rutland <mark.rutland@arm.com>
Mark.
> ---
> v2: drop the arch-specific kernel-doc comments (Mark R.)
>
> Cc: Chris Zankel <chris@zankel.net>
> Cc: Max Filippov <jcmvbkbc@gmail.com>
> Cc: Will Deacon <will@kernel.org>
> Cc: Peter Zijlstra <peterz@infradead.org>
> Cc: Boqun Feng <boqun@kernel.org>
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: Gary Guo <gary@garyguo.net>
>
> arch/xtensa/include/asm/atomic.h | 13 -------------
> 1 file changed, 13 deletions(-)
>
> --- linux-next-20260720.orig/arch/xtensa/include/asm/atomic.h
> +++ linux-next-20260720/arch/xtensa/include/asm/atomic.h
> @@ -37,21 +37,8 @@
> * where no register reference will cause an overflow.
> */
>
> -/**
> - * atomic_read - read atomic variable
> - * @v: pointer of type atomic_t
> - *
> - * Atomically reads the value of @v.
> - */
> #define arch_atomic_read(v) READ_ONCE((v)->counter)
>
> -/**
> - * atomic_set - set atomic variable
> - * @v: pointer of type atomic_t
> - * @i: required value
> - *
> - * Atomically sets the value of @v to @i.
> - */
> #define arch_atomic_set(v,i) WRITE_ONCE((v)->counter, (i))
>
> #if XCHAL_HAVE_EXCLUSIVE
prev parent reply other threads:[~2026-07-22 17:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-21 2:00 Randy Dunlap
2026-07-22 17:53 ` Mark Rutland [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=amEDhh_5GUjcCABL@J2N7QTR9R3 \
--to=mark.rutland@arm.com \
--cc=boqun@kernel.org \
--cc=chris@zankel.net \
--cc=gary@garyguo.net \
--cc=jcmvbkbc@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=rdunlap@infradead.org \
--cc=will@kernel.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
all inboxes | Powered by JetHome®