* [PATCH] include/linux/atomic: fix typos in atomic-arch-fallback.h
@ 2025-10-14 1:13 Aditya Gollamudi
2025-10-14 8:22 ` Peter Zijlstra
2025-10-14 12:12 ` kernel test robot
0 siblings, 2 replies; 3+ messages in thread
From: Aditya Gollamudi @ 2025-10-14 1:13 UTC (permalink / raw)
To: linux-kernel; +Cc: adigollamudi, mark.rutland, peterz, kees, mingo, ubizjak
From: Adi Gollamudi <adigollamudi@gmail.com>
Fix typos in comments throughout the file, change "occured" to "occurred" in
include/linux/atomic/atomic-arch-fallback.h
Signed-off-by: Aditya Gollamudi <adigollamudi@gmail.com>
---
include/linux/atomic/atomic-arch-fallback.h | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/include/linux/atomic/atomic-arch-fallback.h b/include/linux/atomic/atomic-arch-fallback.h
index 2f9d36b72bd8..455579470b15 100644
--- a/include/linux/atomic/atomic-arch-fallback.h
+++ b/include/linux/atomic/atomic-arch-fallback.h
@@ -2121,7 +2121,7 @@ raw_atomic_cmpxchg_relaxed(atomic_t *v, int old, int new)
*
* Safe to use in noinstr code; prefer atomic_try_cmpxchg() elsewhere.
*
- * Return: @true if the exchange occured, @false otherwise.
+ * Return: @true if the exchange occurred, @false otherwise.
*/
static __always_inline bool
raw_atomic_try_cmpxchg(atomic_t *v, int *old, int new)
@@ -2155,7 +2155,7 @@ raw_atomic_try_cmpxchg(atomic_t *v, int *old, int new)
*
* Safe to use in noinstr code; prefer atomic_try_cmpxchg_acquire() elsewhere.
*
- * Return: @true if the exchange occured, @false otherwise.
+ * Return: @true if the exchange occurred, @false otherwise.
*/
static __always_inline bool
raw_atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new)
@@ -2189,7 +2189,7 @@ raw_atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new)
*
* Safe to use in noinstr code; prefer atomic_try_cmpxchg_release() elsewhere.
*
- * Return: @true if the exchange occured, @false otherwise.
+ * Return: @true if the exchange occurred, @false otherwise.
*/
static __always_inline bool
raw_atomic_try_cmpxchg_release(atomic_t *v, int *old, int new)
@@ -2222,7 +2222,7 @@ raw_atomic_try_cmpxchg_release(atomic_t *v, int *old, int new)
*
* Safe to use in noinstr code; prefer atomic_try_cmpxchg_relaxed() elsewhere.
*
- * Return: @true if the exchange occured, @false otherwise.
+ * Return: @true if the exchange occurred, @false otherwise.
*/
static __always_inline bool
raw_atomic_try_cmpxchg_relaxed(atomic_t *v, int *old, int new)
@@ -4247,7 +4247,7 @@ raw_atomic64_cmpxchg_relaxed(atomic64_t *v, s64 old, s64 new)
*
* Safe to use in noinstr code; prefer atomic64_try_cmpxchg() elsewhere.
*
- * Return: @true if the exchange occured, @false otherwise.
+ * Return: @true if the exchange occurred, @false otherwise.
*/
static __always_inline bool
raw_atomic64_try_cmpxchg(atomic64_t *v, s64 *old, s64 new)
@@ -4281,7 +4281,7 @@ raw_atomic64_try_cmpxchg(atomic64_t *v, s64 *old, s64 new)
*
* Safe to use in noinstr code; prefer atomic64_try_cmpxchg_acquire() elsewhere.
*
- * Return: @true if the exchange occured, @false otherwise.
+ * Return: @true if the exchange occurred, @false otherwise.
*/
static __always_inline bool
raw_atomic64_try_cmpxchg_acquire(atomic64_t *v, s64 *old, s64 new)
@@ -4315,7 +4315,7 @@ raw_atomic64_try_cmpxchg_acquire(atomic64_t *v, s64 *old, s64 new)
*
* Safe to use in noinstr code; prefer atomic64_try_cmpxchg_release() elsewhere.
*
- * Return: @true if the exchange occured, @false otherwise.
+ * Return: @true if the exchange occurred, @false otherwise.
*/
static __always_inline bool
raw_atomic64_try_cmpxchg_release(atomic64_t *v, s64 *old, s64 new)
@@ -4348,7 +4348,7 @@ raw_atomic64_try_cmpxchg_release(atomic64_t *v, s64 *old, s64 new)
*
* Safe to use in noinstr code; prefer atomic64_try_cmpxchg_relaxed() elsewhere.
*
- * Return: @true if the exchange occured, @false otherwise.
+ * Return: @true if the exchange occurred, @false otherwise.
*/
static __always_inline bool
raw_atomic64_try_cmpxchg_relaxed(atomic64_t *v, s64 *old, s64 new)
--
2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] include/linux/atomic: fix typos in atomic-arch-fallback.h
2025-10-14 1:13 [PATCH] include/linux/atomic: fix typos in atomic-arch-fallback.h Aditya Gollamudi
@ 2025-10-14 8:22 ` Peter Zijlstra
2025-10-14 12:12 ` kernel test robot
1 sibling, 0 replies; 3+ messages in thread
From: Peter Zijlstra @ 2025-10-14 8:22 UTC (permalink / raw)
To: Aditya Gollamudi; +Cc: linux-kernel, mark.rutland, kees, mingo, ubizjak
On Mon, Oct 13, 2025 at 06:13:51PM -0700, Aditya Gollamudi wrote:
> From: Adi Gollamudi <adigollamudi@gmail.com>
>
> Fix typos in comments throughout the file, change "occured" to "occurred" in
> include/linux/atomic/atomic-arch-fallback.h
What does the comment on top of that file say?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] include/linux/atomic: fix typos in atomic-arch-fallback.h
2025-10-14 1:13 [PATCH] include/linux/atomic: fix typos in atomic-arch-fallback.h Aditya Gollamudi
2025-10-14 8:22 ` Peter Zijlstra
@ 2025-10-14 12:12 ` kernel test robot
1 sibling, 0 replies; 3+ messages in thread
From: kernel test robot @ 2025-10-14 12:12 UTC (permalink / raw)
To: Aditya Gollamudi, linux-kernel
Cc: oe-kbuild-all, adigollamudi, mark.rutland, peterz, kees, mingo, ubizjak
Hi Aditya,
kernel test robot noticed the following build errors:
[auto build test ERROR on linus/master]
[also build test ERROR on v6.18-rc1 next-20251013]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Aditya-Gollamudi/include-linux-atomic-fix-typos-in-atomic-arch-fallback-h/20251014-092236
base: linus/master
patch link: https://lore.kernel.org/r/20251014011351.88032-1-adigollamudi%40gmail.com
patch subject: [PATCH] include/linux/atomic: fix typos in atomic-arch-fallback.h
config: m68k-allnoconfig (https://download.01.org/0day-ci/archive/20251014/202510141934.WzOkEFX6-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251014/202510141934.WzOkEFX6-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202510141934.WzOkEFX6-lkp@intel.com/
All errors (new ones prefixed by >>):
>> error: include/linux/atomic/atomic-arch-fallback.h has been modified.
make[3]: *** [./Kbuild:79: .checked-atomic-arch-fallback.h] Error 1
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [Makefile:1280: prepare0] Error 2
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:248: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-10-14 12:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-14 1:13 [PATCH] include/linux/atomic: fix typos in atomic-arch-fallback.h Aditya Gollamudi
2025-10-14 8:22 ` Peter Zijlstra
2025-10-14 12:12 ` kernel test robot
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®