Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1648107
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v4 next 3/3] modules:capabilities: add a per-task modules auto-load mode |
| Date | 2017-05-23 16:20 +0200 |
| Message-ID | <tKiPg-4kM-17@gated-at.bofh.it> (permalink) |
| References | <tJUae-5dJ-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi Djalal,
[auto build test ERROR on next-20170522]
url: https://github.com/0day-ci/linux/commits/Djalal-Harouni/modules-automatic-module-loading-restrictions/20170523-193128
config: sparc64-allnoconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sparc64
All errors (new ones prefixed by >>):
In file included from arch/sparc/kernel/setup_64.c:32:0:
include/linux/module.h:683:30: error: storage class specified for parameter '__module_address'
static inline struct module *__module_address(unsigned long addr)
^~~~~~~~~~~~~~~~
include/linux/module.h:683:30: error: parameter '__module_address' declared 'inline' [-Werror]
>> include/linux/module.h:684:1: error: 'always_inline' attribute ignored [-Werror=attributes]
{
^
include/linux/module.h:683:30: error: 'no_instrument_function' attribute applies only to functions
static inline struct module *__module_address(unsigned long addr)
^~~~~~~~~~~~~~~~
include/linux/module.h:684:1: error: expected ';', ',' or ')' before '{' token
{
^
cc1: all warnings being treated as errors
vim +/always_inline +684 include/linux/module.h
98702500 Djalal Harouni 2017-05-22 677 static inline int task_modules_autoload_mode(struct task_struct *task)
98702500 Djalal Harouni 2017-05-22 678 {
98702500 Djalal Harouni 2017-05-22 679 return -ENOSYS;
98702500 Djalal Harouni 2017-05-22 680 }
98702500 Djalal Harouni 2017-05-22 681
98702500 Djalal Harouni 2017-05-22 682 static inline bool within_module_core(unsigned long addr,
e610499e Rusty Russell 2009-03-31 @683 static inline struct module *__module_address(unsigned long addr)
e610499e Rusty Russell 2009-03-31 @684 {
e610499e Rusty Russell 2009-03-31 685 return NULL;
e610499e Rusty Russell 2009-03-31 686 }
e610499e Rusty Russell 2009-03-31 687
:::::: The code at line 684 was first introduced by commit
:::::: e610499e2656e61975affd0af56b26eb73964c84 module: __module_address
:::::: TO: Rusty Russell <rusty@rustcorp.com.au>
:::::: CC: Rusty Russell <rusty@rustcorp.com.au>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v4 next 0/3] modules: automatic module loading restrictions Djalal Harouni <tixxdz@gmail.com> - 2017-05-22 14:00 +0200
[PATCH v4 next 3/3] modules:capabilities: add a per-task modules auto-load mode Djalal Harouni <tixxdz@gmail.com> - 2017-05-22 14:00 +0200
Re: [PATCH v4 next 3/3] modules:capabilities: add a per-task modules auto-load mode kbuild test robot <lkp@intel.com> - 2017-05-23 16:20 +0200
[PATCH v4 next 2/3] modules:capabilities: automatic module loading restriction Djalal Harouni <tixxdz@gmail.com> - 2017-05-22 14:10 +0200
Re: [PATCH v4 next 2/3] modules:capabilities: automatic module loading restriction Kees Cook <keescook@chromium.org> - 2017-05-23 00:30 +0200
Re: [kernel-hardening] [PATCH v4 next 0/3] modules: automatic module loading restrictions Solar Designer <solar@openwall.com> - 2017-05-22 14:20 +0200
Re: [kernel-hardening] [PATCH v4 next 0/3] modules: automatic module loading restrictions Djalal Harouni <tixxdz@gmail.com> - 2017-05-22 15:50 +0200
Re: [kernel-hardening] [PATCH v4 next 0/3] modules: automatic module loading restrictions Solar Designer <solar@openwall.com> - 2017-05-22 18:50 +0200
Re: [kernel-hardening] [PATCH v4 next 0/3] modules: automatic module loading restrictions Djalal Harouni <tixxdz@gmail.com> - 2017-05-22 22:00 +0200
Re: [kernel-hardening] [PATCH v4 next 0/3] modules: automatic module loading restrictions Kees Cook <keescook@chromium.org> - 2017-05-23 01:10 +0200
Re: [kernel-hardening] [PATCH v4 next 0/3] modules: automatic module loading restrictions Andy Lutomirski <luto@kernel.org> - 2017-05-23 01:40 +0200
Re: [kernel-hardening] [PATCH v4 next 0/3] modules: automatic module loading restrictions Kees Cook <keescook@chromium.org> - 2017-05-23 02:00 +0200
Re: [kernel-hardening] [PATCH v4 next 0/3] modules: automatic module loading restrictions Djalal Harouni <tixxdz@gmail.com> - 2017-05-23 15:10 +0200
Re: [kernel-hardening] [PATCH v4 next 0/3] modules: automatic module loading restrictions Solar Designer <solar@openwall.com> - 2017-05-23 09:50 +0200
Re: [kernel-hardening] [PATCH v4 next 0/3] modules: automatic module loading restrictions Kees Cook <keescook@google.com> - 2017-05-23 20:40 +0200
Re: [kernel-hardening] [PATCH v4 next 0/3] modules: automatic module loading restrictions Andy Lutomirski <luto@kernel.org> - 2017-05-23 22:00 +0200
Re: [kernel-hardening] [PATCH v4 next 0/3] modules: automatic module loading restrictions Djalal Harouni <tixxdz@gmail.com> - 2017-05-24 20:10 +0200
csiph-web