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  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:   Thu, 23 Feb 2017 18:54:23 +0800
From:   kbuild test robot <>
To:     Ricardo Neri <>
Cc:, Ingo Molnar <>,
        Thomas Gleixner <>,
        "H. Peter Anvin" <>,
        Andy Lutomirski <>,
        Borislav Petkov <>,
        Peter Zijlstra <>,
        Andrew Morton <>,
        Brian Gerst <>,
        Chris Metcalf <>,
        Dave Hansen <>,
        Paolo Bonzini <>,
        Liang Z Li <>,
        Masami Hiramatsu <>,
        Huang Rui <>, Jiri Slaby <>,
        Jonathan Corbet <>,
        "Michael S. Tsirkin" <>,
        Paul Gortmaker <>,
        Vlastimil Babka <>,
        Chen Yucong <>,
        Alexandre Julliard <>,
        Stas Sergeev <>, Fenghua Yu <>,
        "Ravi V. Shankar" <>,
        Shuah Khan <>,,,,,
        Ricardo Neri <>,
        Adam Buchbinder <>,
        Colin Ian King <>,
        Lorenzo Stoakes <>,
        Qiaowei Ren <>,
        Arnaldo Carvalho de Melo <>,
        Adrian Hunter <>,
        Kees Cook <>,
        Thomas Garnier <>,
        Dmitry Vyukov <>
Subject: Re: [PATCH v4 03/17] x86/mpx, x86/insn: Relocate insn util functions
 to a new insn-kernel

Hi Ricardo,

[auto build test ERROR on tip/auto-latest]
[also build test ERROR on v4.10 next-20170223]
[cannot apply to tip/x86/core]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

config: x86_64-randconfig-ne0-02231751 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
        # save the attached .config to linux build tree
        make ARCH=x86_64 

Note: the linux-review/Ricardo-Neri/x86-Enable-User-Mode-Instruction-Prevention/20170223-145356 HEAD 34056233e7c134c8c4c6d8308592d2e0aed67f1b builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

>> arch/x86/lib/insn-eval.c:106:21: error: static declaration of 'insn_get_addr_ref' follows non-static declaration
    static void __user *insn_get_addr_ref(struct insn *insn, struct pt_regs *regs)
   In file included from arch/x86/lib/insn-eval.c:10:0:
   arch/x86/include/asm/insn-eval.h:14:14: note: previous declaration of 'insn_get_addr_ref' was here
    void __user *insn_get_addr_ref(struct insn *insn, struct pt_regs *regs);
   arch/x86/lib/insn-eval.c:106:21: warning: 'insn_get_addr_ref' defined but not used [-Wunused-function]
    static void __user *insn_get_addr_ref(struct insn *insn, struct pt_regs *regs)

vim +/insn_get_addr_ref +106 arch/x86/lib/insn-eval.c

   101	/*
   102	 * return the address being referenced be instruction
   103	 * for rm=3 returning the content of the rm reg
   104	 * for rm!=3 calculates the address using SIB and Disp
   105	 */
 > 106	static void __user *insn_get_addr_ref(struct insn *insn, struct pt_regs *regs)
   107	{
   108		unsigned long addr, base, indx;
   109		int addr_offset, base_offset, indx_offset;

0-DAY kernel test infrastructure                Open Source Technology Center                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (27858 bytes)

Powered by blists - more mailing lists