lkml.org 
[lkml]   [2016]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 09/11] tile/tracing: fix compat syscall handling
Hi Marcin,

[auto build test ERROR on tip/perf/core]
[also build test ERROR on v4.8-rc6 next-20160916]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url: https://github.com/0day-ci/linux/commits/Marcin-Nowakowski/syscall-tracing-compat-syscall-support/20160916-152237
config: tile-allyesconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 4.6.2
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=tile

All errors (new ones prefixed by >>):

In file included from include/linux/ftrace.h:20:0,
from include/linux/perf_event.h:47,
from arch/tile/kernel/irq.c:24:
arch/tile/include/asm/ftrace.h: In function 'arch_trace_is_compat_syscall':
>> arch/tile/include/asm/ftrace.h:44:2: error: implicit declaration of function 'in_compat_syscall'
cc1: some warnings being treated as errors
--
In file included from include/linux/ftrace.h:20:0,
from include/linux/kprobes.h:42,
from arch/tile/kernel/process.c:19:
arch/tile/include/asm/ftrace.h: In function 'arch_trace_is_compat_syscall':
>> arch/tile/include/asm/ftrace.h:44:2: error: implicit declaration of function 'in_compat_syscall'
In file included from arch/tile/kernel/process.c:24:0:
include/linux/compat.h: At top level:
>> include/linux/compat.h:806:20: error: conflicting types for 'in_compat_syscall'
arch/tile/include/asm/ftrace.h:44:9: note: previous implicit declaration of 'in_compat_syscall' was here
cc1: some warnings being treated as errors
--
In file included from include/linux/ftrace.h:20:0,
from include/linux/kprobes.h:42,
from arch/tile/kernel/ptrace.c:19:
arch/tile/include/asm/ftrace.h: In function 'arch_trace_is_compat_syscall':
>> arch/tile/include/asm/ftrace.h:44:2: error: implicit declaration of function 'in_compat_syscall'
In file included from arch/tile/kernel/ptrace.c:20:0:
include/linux/compat.h: At top level:
>> include/linux/compat.h:806:20: error: conflicting types for 'in_compat_syscall'
arch/tile/include/asm/ftrace.h:44:9: note: previous implicit declaration of 'in_compat_syscall' was here
cc1: some warnings being treated as errors
--
In file included from include/linux/ftrace.h:20:0,
from include/linux/kprobes.h:42,
from arch/tile/kernel/stack.c:17:
arch/tile/include/asm/ftrace.h: In function 'arch_trace_is_compat_syscall':
>> arch/tile/include/asm/ftrace.h:44:2: error: implicit declaration of function 'in_compat_syscall'
cc1: some warnings being treated as errors
--
In file included from include/linux/ftrace.h:20:0,
from include/linux/perf_event.h:47,
from include/linux/trace_events.h:9,
from include/trace/syscall.h:6,
from include/linux/syscalls.h:81,
from arch/tile/kernel/sys.c:23:
arch/tile/include/asm/ftrace.h: In function 'arch_trace_is_compat_syscall':
>> arch/tile/include/asm/ftrace.h:44:2: error: implicit declaration of function 'in_compat_syscall'
In file included from arch/tile/kernel/sys.c:29:0:
include/linux/compat.h: At top level:
>> include/linux/compat.h:806:20: error: conflicting types for 'in_compat_syscall'
arch/tile/include/asm/ftrace.h:44:9: note: previous implicit declaration of 'in_compat_syscall' was here
cc1: some warnings being treated as errors
--
In file included from include/linux/ftrace.h:20:0,
from include/linux/kprobes.h:42,
from arch/tile/kernel/traps.c:17:
arch/tile/include/asm/ftrace.h: In function 'arch_trace_is_compat_syscall':
>> arch/tile/include/asm/ftrace.h:44:2: error: implicit declaration of function 'in_compat_syscall'
cc1: some warnings being treated as errors
--
In file included from include/linux/ftrace.h:20:0,
from include/linux/kprobes.h:42,
from arch/tile/kernel/hardwall.c:19:
arch/tile/include/asm/ftrace.h: In function 'arch_trace_is_compat_syscall':
>> arch/tile/include/asm/ftrace.h:44:2: error: implicit declaration of function 'in_compat_syscall'
In file included from arch/tile/kernel/hardwall.c:25:0:
include/linux/compat.h: At top level:
>> include/linux/compat.h:806:20: error: conflicting types for 'in_compat_syscall'
arch/tile/include/asm/ftrace.h:44:9: note: previous implicit declaration of 'in_compat_syscall' was here
cc1: some warnings being treated as errors
--
In file included from include/linux/ftrace.h:20:0,
from include/linux/kprobes.h:42,
from arch/tile/kernel/perf_event.c:29:
arch/tile/include/asm/ftrace.h: In function 'arch_trace_is_compat_syscall':
>> arch/tile/include/asm/ftrace.h:44:2: error: implicit declaration of function 'in_compat_syscall'
cc1: some warnings being treated as errors
--
In file included from include/linux/ftrace.h:20:0,
from arch/tile/kernel/ftrace.c:17:
arch/tile/include/asm/ftrace.h: In function 'arch_trace_is_compat_syscall':
>> arch/tile/include/asm/ftrace.h:44:2: error: implicit declaration of function 'in_compat_syscall'
In file included from arch/tile/include/asm/syscall.h:24:0,
from arch/tile/kernel/ftrace.c:24:
include/linux/compat.h: At top level:
>> include/linux/compat.h:806:20: error: conflicting types for 'in_compat_syscall'
arch/tile/include/asm/ftrace.h:44:9: note: previous implicit declaration of 'in_compat_syscall' was here
cc1: some warnings being treated as errors
--
In file included from include/linux/ftrace.h:20:0,
from include/linux/kprobes.h:42,
from arch/tile/kernel/kprobes.c:24:
arch/tile/include/asm/ftrace.h: In function 'arch_trace_is_compat_syscall':
>> arch/tile/include/asm/ftrace.h:44:2: error: implicit declaration of function 'in_compat_syscall'
cc1: some warnings being treated as errors

vim +/in_compat_syscall +44 arch/tile/include/asm/ftrace.h

38 #if defined(CONFIG_FTRACE_SYSCALLS) && defined(CONFIG_COMPAT)
39 #include <asm/compat.h>
40
41 #define ARCH_COMPAT_SYSCALL_NUMBERS_OVERLAP 1
42 static inline bool arch_trace_is_compat_syscall(struct pt_regs *regs)
43 {
> 44 return in_compat_syscall();
45 }
46 #endif /* CONFIG_FTRACE_SYSCALLS && CONFIG_COMPAT */
47

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2016-09-17 09:59    [W:0.371 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site