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]
Message-ID: <201702231831.ALp3TpDE%fengguang.wu@intel.com>
Date:   Thu, 23 Feb 2017 18:54:23 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Ricardo Neri <ricardo.neri-calderon@...ux.intel.com>
Cc:     kbuild-all@...org, Ingo Molnar <mingo@...hat.com>,
        Thomas Gleixner <tglx@...utronix.de>,
        "H. Peter Anvin" <hpa@...or.com>,
        Andy Lutomirski <luto@...nel.org>,
        Borislav Petkov <bp@...e.de>,
        Peter Zijlstra <peterz@...radead.org>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Brian Gerst <brgerst@...il.com>,
        Chris Metcalf <cmetcalf@...lanox.com>,
        Dave Hansen <dave.hansen@...ux.intel.com>,
        Paolo Bonzini <pbonzini@...hat.com>,
        Liang Z Li <liang.z.li@...el.com>,
        Masami Hiramatsu <mhiramat@...nel.org>,
        Huang Rui <ray.huang@....com>, Jiri Slaby <jslaby@...e.cz>,
        Jonathan Corbet <corbet@....net>,
        "Michael S. Tsirkin" <mst@...hat.com>,
        Paul Gortmaker <paul.gortmaker@...driver.com>,
        Vlastimil Babka <vbabka@...e.cz>,
        Chen Yucong <slaoub@...il.com>,
        Alexandre Julliard <julliard@...ehq.org>,
        Stas Sergeev <stsp@...t.ru>, Fenghua Yu <fenghua.yu@...el.com>,
        "Ravi V. Shankar" <ravi.v.shankar@...el.com>,
        Shuah Khan <shuah@...nel.org>, linux-kernel@...r.kernel.org,
        x86@...nel.org, linux-msdos@...r.kernel.org, wine-devel@...ehq.org,
        Ricardo Neri <ricardo.neri-calderon@...ux.intel.com>,
        Adam Buchbinder <adam.buchbinder@...il.com>,
        Colin Ian King <colin.king@...onical.com>,
        Lorenzo Stoakes <lstoakes@...il.com>,
        Qiaowei Ren <qiaowei.ren@...el.com>,
        Arnaldo Carvalho de Melo <acme@...hat.com>,
        Adrian Hunter <adrian.hunter@...el.com>,
        Kees Cook <keescook@...omium.org>,
        Thomas Garnier <thgarnie@...gle.com>,
        Dmitry Vyukov <dvyukov@...gle.com>
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]

url:    https://github.com/0day-ci/linux/commits/Ricardo-Neri/x86-Enable-User-Mode-Instruction-Prevention/20170223-145356
config: x86_64-randconfig-ne0-02231751 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # 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

   100	
   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
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ