[PATCH] xtensa: atomics: fix kernel-doc warnings

From: Randy Dunlap

Date: Sat Jul 18 2026 - 19:08:57 EST


Use the correct function name in kernel-doc comments to avoid
kernel-doc warnings:

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

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
---
Cc: Chris Zankel <chris@xxxxxxxxxx>
Cc: Max Filippov <jcmvbkbc@xxxxxxxxx>
Cc: Will Deacon <will@xxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Boqun Feng <boqun@xxxxxxxxxx>
Cc: Mark Rutland <mark.rutland@xxxxxxx>
Cc: Gary Guo <gary@xxxxxxxxxxx>

arch/xtensa/include/asm/atomic.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-next-20260717.orig/arch/xtensa/include/asm/atomic.h
+++ linux-next-20260717/arch/xtensa/include/asm/atomic.h
@@ -38,7 +38,7 @@
*/

/**
- * atomic_read - read atomic variable
+ * arch_atomic_read - read atomic variable
* @v: pointer of type atomic_t
*
* Atomically reads the value of @v.
@@ -46,7 +46,7 @@
#define arch_atomic_read(v) READ_ONCE((v)->counter)

/**
- * atomic_set - set atomic variable
+ * arch_atomic_set - set atomic variable
* @v: pointer of type atomic_t
* @i: required value
*