lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 16 Sep 2016 18:42:14 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Marcin Nowakowski <marcin.nowakowski@...tec.com>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org,
        Marcin Nowakowski <marcin.nowakowski@...tec.com>,
        Ingo Molnar <mingo@...hat.com>,
        Chris Metcalf <cmetcalf@...lanox.com>
Subject: Re: [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

Download attachment ".config.gz" of type "application/octet-stream" (45480 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ