Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1587145

Re: [PATCH v4 03/17] x86/mpx, x86/insn: Relocate insn util functions to a new insn-kernel

From Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v4 03/17] x86/mpx, x86/insn: Relocate insn util functions to a new insn-kernel
Date 2017-02-23 23:20 +0100
Message-ID <te9TY-7sz-21@gated-at.bofh.it> (permalink)
References <tdZhT-6l-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 2017-02-23 at 18:54 +0800, kbuild test robot wrote:
> >> 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

Uh! This escaped my tests after many rebases. I will correct it.

Thanks and BR,
Ricardo

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v4 03/17] x86/mpx, x86/insn: Relocate insn util  functions to a new insn-kernel Ricardo Neri <ricardo.neri-calderon@linux.intel.com> - 2017-02-23 23:20 +0100

csiph-web