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


Groups > linux.kernel > #1346393

Re: mn10300, c6x: CONFIG_GENERIC_BUG must depend on CONFIG_BUG

From Andrew Morton <akpm@linux-foundation.org>
Newsgroups linux.kernel
Subject Re: mn10300, c6x: CONFIG_GENERIC_BUG must depend on CONFIG_BUG
Date 2016-03-01 07:40 +0100
Message-ID <r7M8q-5st-11@gated-at.bofh.it> (permalink)
References <r7CVs-7Vn-21@gated-at.bofh.it> <r7LYJ-5pm-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 1 Mar 2016 14:18:56 +0800 kbuild test robot <lkp@intel.com> wrote:

> [auto build test ERROR on v4.5-rc6]
> [also build test ERROR on next-20160229]
> [if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
> 
> url:    https://github.com/0day-ci/linux/commits/Andrew-Morton/mn10300-c6x-CONFIG_GENERIC_BUG-must-depend-on-CONFIG_BUG/20160301-045134
> config: mn10300-allnoconfig (attached as .config)
> 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=mn10300 
> 
> All errors (new ones prefixed by >>):
> 
> >> arch/mn10300/kernel/fpu-nofpu.c:27:36: error: unknown type name 'elf_fpregset_t'
>     int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpreg)

hm, that error isn't well correlated with that patch!

This, I suppose.  I don't have an mn10300 cross-compiler.



From: Andrew Morton <akpm@linux-foundation.org>
Subject: arch/mn10300/kernel/fpu-nofpu.c: needs asm/elf.h

 arch/mn10300/kernel/fpu-nofpu.c:27:36: error: unknown type name 'elf_fpregset_t'
    int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpreg)

Reported-by: kbuild test robot <lkp@intel.com>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 arch/mn10300/kernel/fpu-nofpu.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN arch/mn10300/kernel/fpu-nofpu.c~a arch/mn10300/kernel/fpu-nofpu.c
--- a/arch/mn10300/kernel/fpu-nofpu.c~a
+++ a/arch/mn10300/kernel/fpu-nofpu.c
@@ -9,6 +9,7 @@
  * 2 of the Licence, or (at your option) any later version.
  */
 #include <asm/fpu.h>
+#include <asm/elf.h>
 
 /*
  * handle an FPU operational exception
_

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

include/linux/bug.h:93:12: error: dereferencing pointer to  incomplete type kbuild test robot <fengguang.wu@intel.com> - 2016-02-29 00:40 +0100
  Re: include/linux/bug.h:93:12: error: dereferencing pointer to  incomplete type Andrew Morton <akpm@linux-foundation.org> - 2016-02-29 21:50 +0100
    Re: include/linux/bug.h:93:12: error: dereferencing pointer to  incomplete type Josh Triplett <josh@joshtriplett.org> - 2016-02-29 22:30 +0100
    Re: mn10300, c6x: CONFIG_GENERIC_BUG must depend on CONFIG_BUG kbuild test robot <lkp@intel.com> - 2016-03-01 07:30 +0100
      Re: mn10300, c6x: CONFIG_GENERIC_BUG must depend on CONFIG_BUG Andrew Morton <akpm@linux-foundation.org> - 2016-03-01 07:40 +0100

csiph-web