lkml.org 
[lkml]   [2021]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[peterz-queue:x86/wip.sls 5/5] arch/x86/lib/atomic64_386_32.S:31: warning: "RET" redefined
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: i386-randconfig-a005-20211203 (https://download.01.org/0day-ci/archive/20211204/202112041401.tKAMlE47-lkp@intel.com/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=i386 SHELL=/bin/bash

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

All warnings (new ones prefixed by >>):

>> arch/x86/lib/atomic64_386_32.S:31: warning: "RET" redefined
31 | #define RET \
|
In file included from include/linux/linkage.h:8,
from arch/x86/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/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@luca-barbieri.com>
:::::: CC: H. Peter Anvin <hpa@zytor.com>

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

\
 
 \ /
  Last update: 2021-12-04 07:58    [W:0.027 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site