From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [RFC PATCH 1/3] Introduce per thread user-kernel shared structure
Date: Sat, 28 Aug 2021 16:21:19 +0800 [thread overview]
Message-ID: <202108281642.byyC52hb-lkp@intel.com> (raw)
In-Reply-To: <1630107736-18269-2-git-send-email-prakash.sangappa@oracle.com>
[-- Attachment #1: Type: text/plain, Size: 5755 bytes --]
Hi Prakash,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on linus/master]
[also build test ERROR on v5.14-rc7]
[cannot apply to tip/sched/core hnaz-linux-mm/master tip/x86/asm next-20210827]
[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]
url: https://github.com/0day-ci/linux/commits/Prakash-Sangappa/Provide-fast-access-to-thread-specific-data/20210828-073533
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 8f9d0349841a2871624bb1e85309e03e9867c16e
config: nios2-defconfig (attached as .config)
compiler: nios2-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/4afb2fb1653308287e0f2347dfff5c499acedee7
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Prakash-Sangappa/Provide-fast-access-to-thread-specific-data/20210828-073533
git checkout 4afb2fb1653308287e0f2347dfff5c499acedee7
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=nios2
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
mm/task_shared.c: In function 'task_ushared_alloc':
mm/task_shared.c:264:1: warning: label 'out' defined but not used [-Wunused-label]
264 | out:
| ^~~
In file included from mm/task_shared.c:9:
mm/task_shared.c: At top level:
>> include/linux/syscalls.h:241:25: error: conflicting types for 'sys_task_getshared'; have 'long int(u64, u64, void *)' {aka 'long int(long long unsigned int, long long unsigned int, void *)'}
241 | asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \
| ^~~
include/linux/syscalls.h:227:9: note: in expansion of macro '__SYSCALL_DEFINEx'
227 | __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
| ^~~~~~~~~~~~~~~~~
include/linux/syscalls.h:218:36: note: in expansion of macro 'SYSCALL_DEFINEx'
218 | #define SYSCALL_DEFINE3(name, ...) SYSCALL_DEFINEx(3, _##name, __VA_ARGS__)
| ^~~~~~~~~~~~~~~
mm/task_shared.c:298:1: note: in expansion of macro 'SYSCALL_DEFINE3'
298 | SYSCALL_DEFINE3(task_getshared, u64, opt, u64, flags, void __user *, uaddr)
| ^~~~~~~~~~~~~~~
In file included from mm/task_shared.c:9:
include/linux/syscalls.h:1055:17: note: previous declaration of 'sys_task_getshared' with type 'long int(long int, long int, void *)'
1055 | asmlinkage long sys_task_getshared(long opt, long flags, void __user *uaddr);
| ^~~~~~~~~~~~~~~~~~
vim +241 include/linux/syscalls.h
1bd21c6c21e848 Dominik Brodowski 2018-04-05 230
e145242ea0df6b Dominik Brodowski 2018-04-09 231 /*
e145242ea0df6b Dominik Brodowski 2018-04-09 232 * The asmlinkage stub is aliased to a function named __se_sys_*() which
e145242ea0df6b Dominik Brodowski 2018-04-09 233 * sign-extends 32-bit ints to longs whenever needed. The actual work is
e145242ea0df6b Dominik Brodowski 2018-04-09 234 * done within __do_sys_*().
e145242ea0df6b Dominik Brodowski 2018-04-09 235 */
1bd21c6c21e848 Dominik Brodowski 2018-04-05 236 #ifndef __SYSCALL_DEFINEx
bed1ffca022cc8 Frederic Weisbecker 2009-03-13 237 #define __SYSCALL_DEFINEx(x, name, ...) \
bee20031772af3 Arnd Bergmann 2018-06-19 238 __diag_push(); \
bee20031772af3 Arnd Bergmann 2018-06-19 239 __diag_ignore(GCC, 8, "-Wattribute-alias", \
bee20031772af3 Arnd Bergmann 2018-06-19 240 "Type aliasing is used to sanitize syscall arguments");\
83460ec8dcac14 Andi Kleen 2013-11-12 @241 asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__)) \
e145242ea0df6b Dominik Brodowski 2018-04-09 242 __attribute__((alias(__stringify(__se_sys##name)))); \
c9a211951c7c79 Howard McLauchlan 2018-03-21 243 ALLOW_ERROR_INJECTION(sys##name, ERRNO); \
e145242ea0df6b Dominik Brodowski 2018-04-09 244 static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__));\
e145242ea0df6b Dominik Brodowski 2018-04-09 245 asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)); \
e145242ea0df6b Dominik Brodowski 2018-04-09 246 asmlinkage long __se_sys##name(__MAP(x,__SC_LONG,__VA_ARGS__)) \
1a94bc34768e46 Heiko Carstens 2009-01-14 247 { \
e145242ea0df6b Dominik Brodowski 2018-04-09 248 long ret = __do_sys##name(__MAP(x,__SC_CAST,__VA_ARGS__));\
07fe6e00f6cca6 Al Viro 2013-01-21 249 __MAP(x,__SC_TEST,__VA_ARGS__); \
2cf0966683430b Al Viro 2013-01-21 250 __PROTECT(x, ret,__MAP(x,__SC_ARGS,__VA_ARGS__)); \
2cf0966683430b Al Viro 2013-01-21 251 return ret; \
1a94bc34768e46 Heiko Carstens 2009-01-14 252 } \
bee20031772af3 Arnd Bergmann 2018-06-19 253 __diag_pop(); \
e145242ea0df6b Dominik Brodowski 2018-04-09 254 static inline long __do_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__))
1bd21c6c21e848 Dominik Brodowski 2018-04-05 255 #endif /* __SYSCALL_DEFINEx */
1a94bc34768e46 Heiko Carstens 2009-01-14 256
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 10143 bytes --]
next prev parent reply other threads:[~2021-08-28 8:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-27 23:42 [RFC PATCH 0/3] Provide fast access to thread-specific data Prakash Sangappa
2021-08-27 23:42 ` [RFC PATCH 1/3] Introduce per thread user-kernel shared structure Prakash Sangappa
2021-08-28 7:36 ` kernel test robot
2021-08-28 8:21 ` kernel test robot [this message]
2021-08-27 23:42 ` [RFC PATCH 2/3] Publish tasks's scheduler stats thru the " Prakash Sangappa
2021-08-28 6:35 ` kernel test robot
2021-08-27 23:42 ` [RFC PATCH 3/3] Introduce task's 'off cpu' time Prakash Sangappa
-- strict thread matches above, loose matches on Subject: below --
2021-08-28 10:18 [RFC PATCH 1/3] Introduce per thread user-kernel shared structure kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202108281642.byyC52hb-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.