[peterz-queue:x86/wip.sls 5/5] arch/x86/um/../lib/atomic64_386_32.S:31: warning: "RET" redefined

From: kernel test robot
Date: Fri Dec 03 2021 - 22:51:45 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/wip.sls
head: 6e193eea4eb731c1da2764591f0ced73ca9f326b
commit: 6e193eea4eb731c1da2764591f0ced73ca9f326b [5/5] x86: Add straight-line-speculation mitigation
config: um-i386_defconfig (https://download.01.org/0day-ci/archive/20211204/202112041135.yWAi9LKU-lkp@xxxxxxxxx/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=6e193eea4eb731c1da2764591f0ced73ca9f326b
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue x86/wip.sls
git checkout 6e193eea4eb731c1da2764591f0ced73ca9f326b
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=um SUBARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> arch/x86/um/../lib/atomic64_386_32.S:31: warning: "RET" redefined
31 | #define RET \
|
In file included from include/linux/linkage.h:8,
from arch/x86/um/../lib/atomic64_386_32.S:8:
arch/x86/include/asm/linkage.h:24: note: this is the location of the previous definition
24 | #define RET ret
|


vim +/RET +31 arch/x86/um/../lib/atomic64_386_32.S

417484d47e1157 Luca Barbieri 2010-08-12 30
30246557a06bb2 Luca Barbieri 2010-08-06 @31 #define RET \
30246557a06bb2 Luca Barbieri 2010-08-06 32 UNLOCK v; \
fac0bf5b834b04 Peter Zijlstra 2021-12-03 33 RET
a7e926abc3adfb Luca Barbieri 2010-02-24 34

:::::: The code at line 31 was first introduced by commit
:::::: 30246557a06bb20618bed906a06d1e1e0faa8bb4 x86, asm: Refactor atomic64_386_32.S to support old binutils and be cleaner

:::::: TO: Luca Barbieri <luca@xxxxxxxxxxxxxxxxx>
:::::: CC: H. Peter Anvin <hpa@xxxxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx