[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201805191105.73VFuLJZ%fengguang.wu@intel.com>
Date: Sat, 19 May 2018 12:27:18 +0800
From: kbuild test robot <lkp@...el.com>
To: Nadav Amit <namit@...are.com>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org, x86@...nel.org,
nadav.amit@...il.com, Nadav Amit <namit@...are.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>,
Kees Cook <keescook@...omium.org>,
Jan Beulich <JBeulich@...e.com>,
Josh Poimboeuf <jpoimboe@...hat.com>
Subject: Re: [PATCH 5/6] x86: refcount: prevent gcc distortions
Hi Nadav,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on tip/auto-latest]
[also build test ERROR on v4.17-rc5 next-20180517]
[cannot apply to tip/x86/core]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Nadav-Amit/x86-objtool-use-asm-macro-for-better-compiler-decisions/20180519-045439
config: x86_64-allyesdebian (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
arch/x86/include/asm/refcount.h: Assembler messages:
>> arch/x86/include/asm/refcount.h:67: Error: too many positional arguments
vim +67 arch/x86/include/asm/refcount.h
63
64 static __always_inline void refcount_inc(refcount_t *r)
65 {
66 asm volatile(LOCK_PREFIX "incl %0\n\t"
> 67 "__REFCOUNT_CHECK_LT_ZERO %[counter]"
68 : [counter] "+m" (r->refs.counter)
69 : : "cc", "cx");
70 }
71
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (39420 bytes)
Powered by blists - more mailing lists