include/linux/atomic: fix typos in atomic-arch-fallback.h
PATCH 1/1 include/linux/atomic: fix typos in atomic-arch-fallback.h
From: Adi Gollamudi <[email protected]>
Fix typos in comments throughout the file, change "occured" to "occurred" in include/linux/atomic/atomic-arch-fallback.h
--- include/linux/atomic/atomic-arch-fallback.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
include/linux/atomic/atomic-arch-fallback.h +8 -8
@@ -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 boolraw_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 boolraw_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 boolraw_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 boolraw_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 boolraw_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 boolraw_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 boolraw_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 boolraw_atomic64_try_cmpxchg_relaxed (atomic64_t *v,s64 *old,s64 new)
Signature · 1 line
2.34.1
Quoted 4 lines · Aditya Gollamudi
From: Adi Gollamudi <[email protected]>
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?
kernel test robot
build botkernel test robot noticed the following build errors:
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/[email protected]/config) compiler: m68k-linux-gcc (GCC) 15.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251014/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
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.
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki