tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 
WIP.sched/core
head:   38c7fc1c938c469af27c032bf4eab0c4aaf4eba1
commit: d8c081caed34b16d17d639fa49889d2b7b22c9b0 [118/162] sched/headers: 
Remove <asm/ptrace.h> from <linux/sched.h>
config: mips-ip27_defconfig (attached as .config)
compiler: mips64-linux-gnuabi64-gcc (Debian 6.1.1-9) 6.1.1 20160705
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
        git checkout d8c081caed34b16d17d639fa49889d2b7b22c9b0
        # save the attached .config to linux build tree
        make.cross ARCH=mips 

All errors (new ones prefixed by >>):

   arch/mips/sgi-ip27/ip27-berr.c: In function 'ip27_be_handler':
>> arch/mips/sgi-ip27/ip27-berr.c:60:17: error: dereferencing pointer to 
>> incomplete type 'struct pt_regs'
     int data = regs->cp0_cause & 4;
                    ^~
   arch/mips/sgi-ip27/ip27-berr.c:76:2: error: implicit declaration of function 
'force_sig' [-Werror=implicit-function-declaration]
     force_sig(SIGBUS, current);
     ^~~~~~~~~
   cc1: all warnings being treated as errors

vim +60 arch/mips/sgi-ip27/ip27-berr.c

^1da177e Linus Torvalds 2005-04-16  44          printk("Hub error address is 
%08lx\n",
^1da177e Linus Torvalds 2005-04-16  45                 (errst0 & 
PI_ERR_ST0_ADDR_MASK) >> (PI_ERR_ST0_ADDR_SHFT - 3));
^1da177e Linus Torvalds 2005-04-16  46          printk("Incoming message 
command 0x%lx\n",
^1da177e Linus Torvalds 2005-04-16  47                 (errst0 & 
PI_ERR_ST0_CMD_MASK) >> PI_ERR_ST0_CMD_SHFT);
^1da177e Linus Torvalds 2005-04-16  48          printk("Supplemental field of 
incoming message is 0x%lx\n",
^1da177e Linus Torvalds 2005-04-16  49                 (errst0 & 
PI_ERR_ST0_SUPPL_MASK) >> PI_ERR_ST0_SUPPL_SHFT);
^1da177e Linus Torvalds 2005-04-16  50          printk("T5 Rn (for RRB only) is 
0x%lx\n",
^1da177e Linus Torvalds 2005-04-16  51                 (errst0 & 
PI_ERR_ST0_REQNUM_MASK) >> PI_ERR_ST0_REQNUM_SHFT);
^1da177e Linus Torvalds 2005-04-16  52          printk("Error type is %s\n", 
err_type[wrb]
^1da177e Linus Torvalds 2005-04-16  53                 [(errst0 & 
PI_ERR_ST0_TYPE_MASK) >> PI_ERR_ST0_TYPE_SHFT]
^1da177e Linus Torvalds 2005-04-16  54                  ? : "invalid");
^1da177e Linus Torvalds 2005-04-16  55  }
^1da177e Linus Torvalds 2005-04-16  56  
^1da177e Linus Torvalds 2005-04-16  57  int ip27_be_handler(struct pt_regs 
*regs, int is_fixup)
^1da177e Linus Torvalds 2005-04-16  58  {
^1da177e Linus Torvalds 2005-04-16  59          unsigned long errst0, errst1;
^1da177e Linus Torvalds 2005-04-16 @60          int data = regs->cp0_cause & 4;
^1da177e Linus Torvalds 2005-04-16  61          int cpu = 
LOCAL_HUB_L(PI_CPU_NUM);
^1da177e Linus Torvalds 2005-04-16  62  
^1da177e Linus Torvalds 2005-04-16  63          if (is_fixup)
^1da177e Linus Torvalds 2005-04-16  64                  return MIPS_BE_FIXUP;
^1da177e Linus Torvalds 2005-04-16  65  
^1da177e Linus Torvalds 2005-04-16  66          printk("Slice %c got %cbe at 
0x%lx\n", 'A' + cpu, data ? 'd' : 'i',
^1da177e Linus Torvalds 2005-04-16  67                 regs->cp0_epc);
^1da177e Linus Torvalds 2005-04-16  68          printk("Hub information:\n");

:::::: The code at line 60 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <[email protected]>
:::::: CC: Linus Torvalds <[email protected]>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

Reply via email to