From: kbuild test robot <lkp@intel.com>
To: "Dmitry V. Levin" <ldv@altlinux.org>
Cc: kbuild-all@01.org, Max Filippov <jcmvbkbc@gmail.com>,
Oleg Nesterov <oleg@redhat.com>,
Andy Lutomirski <luto@kernel.org>,
Elvira Khabirova <lineprinter@altlinux.org>,
Eugene Syromyatnikov <esyr@redhat.com>,
Chris Zankel <chris@zankel.net>, Paul Moore <paul@paul-moore.com>,
Eric Paris <eparis@redhat.com>,
linux-xtensa@linux-xtensa.org, linux-audit@redhat.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v5 19/25] xtensa: define syscall_get_* functions
Date: Wed, 19 Dec 2018 13:58:10 +0800 [thread overview]
Message-ID: <201812191351.xpYwnrqp%fengguang.wu@intel.com> (raw)
In-Reply-To: <20181210043041.GS6131@altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 16284 bytes --]
Hi Dmitry,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v4.20-rc7]
[cannot apply to next-20181218]
[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/Dmitry-V-Levin/ptrace-add-PTRACE_GET_SYSCALL_INFO-request/20181210-174745
config: xtensa-iss_defconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 8.1.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=8.1.0 make.cross ARCH=xtensa
All errors (new ones prefixed by >>):
^~~~~~~~~~
include/linux/signal.h:122:20: note: in definition of macro '_SIG_SET_BINOP'
static inline void name(sigset_t *r, const sigset_t *a, const sigset_t *b) \
^~~~
include/linux/signal.h:153:16: error: invalid storage class for function 'sigandnsets'
_SIG_SET_BINOP(sigandnsets, _sig_andn)
^~~~~~~~~~~
include/linux/signal.h:122:20: note: in definition of macro '_SIG_SET_BINOP'
static inline void name(sigset_t *r, const sigset_t *a, const sigset_t *b) \
^~~~
include/linux/signal.h:177:13: error: invalid storage class for function 'signotset'
_SIG_SET_OP(signotset, _sig_not)
^~~~~~~~~
include/linux/signal.h:161:20: note: in definition of macro '_SIG_SET_OP'
static inline void name(sigset_t *set) \
^~~~
include/linux/signal.h:182:20: error: invalid storage class for function 'sigemptyset'
static inline void sigemptyset(sigset_t *set)
^~~~~~~~~~~
include/linux/signal.h:195:20: error: invalid storage class for function 'sigfillset'
static inline void sigfillset(sigset_t *set)
^~~~~~~~~~
include/linux/signal.h:210:20: error: invalid storage class for function 'sigaddsetmask'
static inline void sigaddsetmask(sigset_t *set, unsigned long mask)
^~~~~~~~~~~~~
include/linux/signal.h:215:20: error: invalid storage class for function 'sigdelsetmask'
static inline void sigdelsetmask(sigset_t *set, unsigned long mask)
^~~~~~~~~~~~~
include/linux/signal.h:220:19: error: invalid storage class for function 'sigtestsetmask'
static inline int sigtestsetmask(sigset_t *set, unsigned long mask)
^~~~~~~~~~~~~~
include/linux/signal.h:225:20: error: invalid storage class for function 'siginitset'
static inline void siginitset(sigset_t *set, unsigned long mask)
^~~~~~~~~~
include/linux/signal.h:237:20: error: invalid storage class for function 'siginitsetinv'
static inline void siginitsetinv(sigset_t *set, unsigned long mask)
^~~~~~~~~~~~~
include/linux/signal.h:251:20: error: invalid storage class for function 'init_sigpending'
static inline void init_sigpending(struct sigpending *sig)
^~~~~~~~~~~~~~~
include/linux/signal.h:260:19: error: invalid storage class for function 'valid_signal'
static inline int valid_signal(unsigned long sig)
^~~~~~~~~~~~
include/linux/signal.h:285:20: error: invalid storage class for function 'allow_signal'
static inline void allow_signal(int sig)
^~~~~~~~~~~~
include/linux/signal.h:295:20: error: invalid storage class for function 'disallow_signal'
static inline void disallow_signal(int sig)
^~~~~~~~~~~~~~~
In file included from include/linux/key.h:22,
from include/linux/syscalls.h:83,
from arch/xtensa/kernel/syscall.c:24:
include/linux/sysctl.h:100:21: error: invalid storage class for function 'proc_sys_poll_event'
static inline void *proc_sys_poll_event(struct ctl_table_poll *poll)
^~~~~~~~~~~~~~~~~~~
In file included from include/linux/static_key.h:1,
from include/linux/tracepoint-defs.h:12,
from include/linux/tracepoint.h:23,
from include/trace/syscall.h:5,
from include/linux/syscalls.h:85,
from arch/xtensa/kernel/syscall.c:24:
include/linux/jump_label.h:253:19: error: invalid storage class for function 'static_key_count'
static inline int static_key_count(struct static_key *key)
^~~~~~~~~~~~~~~~
include/linux/jump_label.h:258:29: error: invalid storage class for function 'jump_label_init'
static __always_inline void jump_label_init(void)
^~~~~~~~~~~~~~~
include/linux/jump_label.h:263:29: error: invalid storage class for function 'static_key_false'
static __always_inline bool static_key_false(struct static_key *key)
^~~~~~~~~~~~~~~~
include/linux/jump_label.h:270:29: error: invalid storage class for function 'static_key_true'
static __always_inline bool static_key_true(struct static_key *key)
^~~~~~~~~~~~~~~
include/linux/jump_label.h:277:20: error: invalid storage class for function 'static_key_slow_inc'
static inline void static_key_slow_inc(struct static_key *key)
^~~~~~~~~~~~~~~~~~~
include/linux/jump_label.h:283:20: error: invalid storage class for function 'static_key_slow_dec'
static inline void static_key_slow_dec(struct static_key *key)
^~~~~~~~~~~~~~~~~~~
include/linux/jump_label.h:292:19: error: invalid storage class for function 'jump_label_text_reserved'
static inline int jump_label_text_reserved(void *start, void *end)
^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/jump_label.h:297:20: error: invalid storage class for function 'jump_label_lock'
static inline void jump_label_lock(void) {}
^~~~~~~~~~~~~~~
include/linux/jump_label.h:298:20: error: invalid storage class for function 'jump_label_unlock'
static inline void jump_label_unlock(void) {}
^~~~~~~~~~~~~~~~~
include/linux/jump_label.h:300:19: error: invalid storage class for function 'jump_label_apply_nops'
static inline int jump_label_apply_nops(struct module *mod)
^~~~~~~~~~~~~~~~~~~~~
include/linux/jump_label.h:305:20: error: invalid storage class for function 'static_key_enable'
static inline void static_key_enable(struct static_key *key)
^~~~~~~~~~~~~~~~~
include/linux/jump_label.h:316:20: error: invalid storage class for function 'static_key_disable'
static inline void static_key_disable(struct static_key *key)
^~~~~~~~~~~~~~~~~~
In file included from include/trace/syscall.h:5,
from include/linux/syscalls.h:85,
from arch/xtensa/kernel/syscall.c:24:
>> include/linux/tracepoint.h:60:20: error: invalid storage class for function 'trace_module_has_bad_taint'
static inline bool trace_module_has_bad_taint(struct module *mod)
^~~~~~~~~~~~~~~~~~~~~~~~~~
>> include/linux/tracepoint.h:65:5: error: invalid storage class for function 'register_tracepoint_module_notifier'
int register_tracepoint_module_notifier(struct notifier_block *nb)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> include/linux/tracepoint.h:70:5: error: invalid storage class for function 'unregister_tracepoint_module_notifier'
int unregister_tracepoint_module_notifier(struct notifier_block *nb)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:88:20: error: invalid storage class for function 'tracepoint_synchronize_unregister'
static inline void tracepoint_synchronize_unregister(void)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/tracepoint.h:114:34: error: invalid storage class for function 'tracepoint_ptr_deref'
static inline struct tracepoint *tracepoint_ptr_deref(tracepoint_ptr_t *p)
^~~~~~~~~~~~~~~~~~~~
In file included from include/linux/mm.h:18,
from include/linux/ring_buffer.h:5,
from include/linux/trace_events.h:6,
from include/trace/syscall.h:7,
from include/linux/syscalls.h:85,
from arch/xtensa/kernel/syscall.c:24:
include/linux/range.h:24:31: error: invalid storage class for function 'cap_resource'
static inline resource_size_t cap_resource(u64 val)
^~~~~~~~~~~~
In file included from include/linux/mm.h:20,
from include/linux/ring_buffer.h:5,
from include/linux/trace_events.h:6,
from include/trace/syscall.h:7,
from include/linux/syscalls.h:85,
from arch/xtensa/kernel/syscall.c:24:
include/linux/percpu-refcount.h:126:20: error: invalid storage class for function 'percpu_ref_kill'
static inline void percpu_ref_kill(struct percpu_ref *ref)
^~~~~~~~~~~~~~~
include/linux/percpu-refcount.h:137:20: error: invalid storage class for function '__ref_is_percpu'
static inline bool __ref_is_percpu(struct percpu_ref *ref,
^~~~~~~~~~~~~~~
include/linux/percpu-refcount.h:177:20: error: invalid storage class for function 'percpu_ref_get_many'
static inline void percpu_ref_get_many(struct percpu_ref *ref, unsigned long nr)
^~~~~~~~~~~~~~~~~~~
include/linux/percpu-refcount.h:199:20: error: invalid storage class for function 'percpu_ref_get'
static inline void percpu_ref_get(struct percpu_ref *ref)
^~~~~~~~~~~~~~
include/linux/percpu-refcount.h:213:20: error: invalid storage class for function 'percpu_ref_tryget'
static inline bool percpu_ref_tryget(struct percpu_ref *ref)
^~~~~~~~~~~~~~~~~
include/linux/percpu-refcount.h:247:20: error: invalid storage class for function 'percpu_ref_tryget_live'
static inline bool percpu_ref_tryget_live(struct percpu_ref *ref)
^~~~~~~~~~~~~~~~~~~~~~
include/linux/percpu-refcount.h:276:20: error: invalid storage class for function 'percpu_ref_put_many'
static inline void percpu_ref_put_many(struct percpu_ref *ref, unsigned long nr)
^~~~~~~~~~~~~~~~~~~
include/linux/percpu-refcount.h:299:20: error: invalid storage class for function 'percpu_ref_put'
static inline void percpu_ref_put(struct percpu_ref *ref)
^~~~~~~~~~~~~~
include/linux/percpu-refcount.h:313:20: error: invalid storage class for function 'percpu_ref_is_dying'
static inline bool percpu_ref_is_dying(struct percpu_ref *ref)
^~~~~~~~~~~~~~~~~~~
include/linux/percpu-refcount.h:326:20: error: invalid storage class for function 'percpu_ref_is_zero'
static inline bool percpu_ref_is_zero(struct percpu_ref *ref)
^~~~~~~~~~~~~~~~~~
In file included from include/linux/mm.h:24,
from include/linux/ring_buffer.h:5,
from include/linux/trace_events.h:6,
from include/trace/syscall.h:7,
from include/linux/syscalls.h:85,
from arch/xtensa/kernel/syscall.c:24:
include/linux/page_ext.h:58:20: error: invalid storage class for function 'pgdat_page_ext_init'
static inline void pgdat_page_ext_init(struct pglist_data *pgdat)
^~~~~~~~~~~~~~~~~~~
include/linux/page_ext.h:62:32: error: invalid storage class for function 'lookup_page_ext'
static inline struct page_ext *lookup_page_ext(const struct page *page)
^~~~~~~~~~~~~~~
include/linux/page_ext.h:67:20: error: invalid storage class for function 'page_ext_init'
static inline void page_ext_init(void)
^~~~~~~~~~~~~
include/linux/page_ext.h:71:20: error: invalid storage class for function 'page_ext_init_flatmem'
static inline void page_ext_init_flatmem(void)
^~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/page_ref.h:7,
from include/linux/mm.h:26,
from include/linux/ring_buffer.h:5,
from include/linux/trace_events.h:6,
from include/trace/syscall.h:7,
from include/linux/syscalls.h:85,
from arch/xtensa/kernel/syscall.c:24:
include/linux/page-flags.h:141:28: error: invalid storage class for function 'compound_head'
static inline struct page *compound_head(struct page *page)
^~~~~~~~~~~~~
include/linux/page-flags.h:150:28: error: invalid storage class for function 'PageTail'
static __always_inline int PageTail(struct page *page)
^~~~~~~~
include/linux/page-flags.h:155:28: error: invalid storage class for function 'PageCompound'
static __always_inline int PageCompound(struct page *page)
^~~~~~~~~~~~
include/linux/page-flags.h:161:19: error: invalid storage class for function 'PagePoisoned'
static inline int PagePoisoned(const struct page *page)
^~~~~~~~~~~~
include/linux/page-flags.h:169:20: error: invalid storage class for function 'page_init_poison'
static inline void page_init_poison(struct page *page, size_t size)
^~~~~~~~~~~~~~~~
include/linux/page-flags.h:216:28: error: invalid storage class for function 'PageLocked'
static __always_inline int Page##uname(struct page *page) \
^~~~
include/linux/page-flags.h:249:2: note: in expansion of macro 'TESTPAGEFLAG'
TESTPAGEFLAG(uname, lname, policy) \
^~~~~~~~~~~~
include/linux/page-flags.h:281:1: note: in expansion of macro '__PAGEFLAG'
vim +/trace_module_has_bad_taint +60 include/linux/tracepoint.h
de7b29739 Mathieu Desnoyers 2014-04-08 55
45ab2813d Steven Rostedt (Red Hat 2014-02-26 56) bool trace_module_has_bad_taint(struct module *mod);
de7b29739 Mathieu Desnoyers 2014-04-08 57 extern int register_tracepoint_module_notifier(struct notifier_block *nb);
de7b29739 Mathieu Desnoyers 2014-04-08 58 extern int unregister_tracepoint_module_notifier(struct notifier_block *nb);
45ab2813d Steven Rostedt (Red Hat 2014-02-26 59) #else
45ab2813d Steven Rostedt (Red Hat 2014-02-26 @60) static inline bool trace_module_has_bad_taint(struct module *mod)
45ab2813d Steven Rostedt (Red Hat 2014-02-26 61) {
45ab2813d Steven Rostedt (Red Hat 2014-02-26 62) return false;
45ab2813d Steven Rostedt (Red Hat 2014-02-26 63) }
de7b29739 Mathieu Desnoyers 2014-04-08 64 static inline
de7b29739 Mathieu Desnoyers 2014-04-08 @65 int register_tracepoint_module_notifier(struct notifier_block *nb)
de7b29739 Mathieu Desnoyers 2014-04-08 66 {
de7b29739 Mathieu Desnoyers 2014-04-08 67 return 0;
de7b29739 Mathieu Desnoyers 2014-04-08 68 }
de7b29739 Mathieu Desnoyers 2014-04-08 69 static inline
de7b29739 Mathieu Desnoyers 2014-04-08 @70 int unregister_tracepoint_module_notifier(struct notifier_block *nb)
de7b29739 Mathieu Desnoyers 2014-04-08 71 {
de7b29739 Mathieu Desnoyers 2014-04-08 72 return 0;
de7b29739 Mathieu Desnoyers 2014-04-08 73 }
b75ef8b44 Mathieu Desnoyers 2011-08-10 74 #endif /* CONFIG_MODULES */
b75ef8b44 Mathieu Desnoyers 2011-08-10 75
:::::: The code at line 60 was first introduced by commit
:::::: 45ab2813d40d88fc575e753c38478de242d03f88 tracing: Do not add event files for modules that fail tracepoints
:::::: TO: Steven Rostedt (Red Hat) <rostedt@goodmis.org>
:::::: CC: Steven Rostedt <rostedt@goodmis.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 8183 bytes --]
next prev parent reply other threads:[~2018-12-19 5:58 UTC|newest]
Thread overview: 65+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20181210042352.GA6092@altlinux.org>
2018-12-10 4:27 ` [PATCH v5 01/25] alpha: define remaining syscall_get_* functions Dmitry V. Levin
2018-12-10 4:28 ` [PATCH v5 02/25] Move EM_ARCOMPACT and EM_ARCV2 to uapi/linux/elf-em.h Dmitry V. Levin
2018-12-10 4:29 ` [PATCH v5 03/25] arc: define syscall_get_arch() Dmitry V. Levin
2018-12-10 4:29 ` [PATCH v5 04/25] c6x: " Dmitry V. Levin
2018-12-11 22:40 ` Mark Salter
2018-12-10 4:29 ` [PATCH v5 05/25] elf-em.h: add EM_CSKY Dmitry V. Levin
2018-12-10 4:29 ` [PATCH v5 06/25] csky: define syscall_get_arch() Dmitry V. Levin
2018-12-10 4:29 ` [PATCH v5 07/25] h8300: define remaining syscall_get_* functions Dmitry V. Levin
2018-12-10 4:29 ` [PATCH v5 08/25] Move EM_HEXAGON to uapi/linux/elf-em.h Dmitry V. Levin
2018-12-10 4:29 ` [PATCH v5 09/25] hexagon: define remaining syscall_get_* functions Dmitry V. Levin
2018-12-10 4:29 ` [PATCH v5 10/25] Move EM_NDS32 to uapi/linux/elf-em.h Dmitry V. Levin
2018-12-10 4:29 ` [PATCH v5 11/25] nds32: define syscall_get_arch() Dmitry V. Levin
2018-12-10 4:30 ` [PATCH v5 12/25] nios2: " Dmitry V. Levin
2018-12-10 4:30 ` [PATCH v5 13/25] m68k: add asm/syscall.h Dmitry V. Levin
2018-12-10 8:45 ` Geert Uytterhoeven
2018-12-10 12:40 ` Dmitry V. Levin
2018-12-10 13:06 ` Geert Uytterhoeven
2018-12-10 13:30 ` Dmitry V. Levin
2018-12-12 8:55 ` Dmitry V. Levin
2018-12-12 9:01 ` Geert Uytterhoeven
2018-12-12 9:27 ` Dmitry V. Levin
2018-12-12 9:43 ` Geert Uytterhoeven
2018-12-12 12:04 ` Dmitry V. Levin
2018-12-12 12:27 ` Geert Uytterhoeven
2018-12-12 12:37 ` Dmitry V. Levin
2018-12-12 12:54 ` Geert Uytterhoeven
2018-12-12 13:07 ` Dmitry V. Levin
2018-12-12 23:12 ` Dmitry V. Levin
2019-03-29 22:04 ` Dmitry V. Levin
2019-03-30 20:57 ` Geert Uytterhoeven
2018-12-10 4:30 ` [PATCH v5 14/25] mips: define syscall_get_error() Dmitry V. Levin
2018-12-10 4:30 ` [PATCH v5 15/25] parisc: " Dmitry V. Levin
2018-12-10 4:30 ` [PATCH v5 16/25] powerpc: " Dmitry V. Levin
2018-12-10 4:30 ` [PATCH v5 17/25] riscv: define syscall_get_arch() Dmitry V. Levin
2018-12-10 4:30 ` [PATCH v5 18/25] Move EM_XTENSA to uapi/linux/elf-em.h Dmitry V. Levin
2018-12-10 4:30 ` [PATCH v5 19/25] xtensa: define syscall_get_* functions Dmitry V. Levin
2018-12-10 5:02 ` Max Filippov
2018-12-10 12:53 ` Dmitry V. Levin
2018-12-10 20:14 ` Max Filippov
2018-12-10 20:24 ` Dmitry V. Levin
2018-12-10 20:30 ` Dmitry V. Levin
2018-12-10 21:29 ` Max Filippov
2018-12-12 10:45 ` kbuild test robot
2018-12-19 5:58 ` kbuild test robot [this message]
2018-12-10 4:30 ` [PATCH v5 20/25] Move EM_UNICORE to uapi/linux/elf-em.h Dmitry V. Levin
2018-12-10 4:30 ` [PATCH v5 21/25] unicore32: add asm/syscall.h Dmitry V. Levin
2018-12-10 4:31 ` [PATCH v5 22/25] syscall_get_arch: add "struct task_struct *" argument Dmitry V. Levin
2018-12-10 17:29 ` Kees Cook
2018-12-11 22:44 ` Mark Salter
2018-12-10 4:31 ` [PATCH v5 23/25] powerpc/ptrace: replace ptrace_report_syscall() with a tracehook call Dmitry V. Levin
2018-12-10 4:31 ` [PATCH v5 24/25] ptrace: add PTRACE_GET_SYSCALL_INFO request Dmitry V. Levin
2018-12-10 14:11 ` Oleg Nesterov
2018-12-10 16:21 ` Dmitry V. Levin
2018-12-11 15:29 ` Oleg Nesterov
2018-12-11 16:23 ` Dmitry V. Levin
2018-12-11 20:27 ` Dmitry V. Levin
2018-12-12 18:00 ` Oleg Nesterov
2018-12-10 14:26 ` kbuild test robot
2018-12-10 16:09 ` Dmitry V. Levin
2018-12-10 18:04 ` Paul Burton
2018-12-10 21:04 ` Palmer Dabbelt
2018-12-10 19:38 ` Andy Lutomirski
2018-12-10 17:44 ` Kees Cook
2018-12-12 9:28 ` kbuild test robot
2018-12-10 4:31 ` [PATCH v5 25/25] selftests/ptrace: add a test case for PTRACE_GET_SYSCALL_INFO Dmitry V. Levin
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=201812191351.xpYwnrqp%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=chris@zankel.net \
--cc=eparis@redhat.com \
--cc=esyr@redhat.com \
--cc=jcmvbkbc@gmail.com \
--cc=kbuild-all@01.org \
--cc=ldv@altlinux.org \
--cc=lineprinter@altlinux.org \
--cc=linux-audit@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-xtensa@linux-xtensa.org \
--cc=luto@kernel.org \
--cc=oleg@redhat.com \
--cc=paul@paul-moore.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).