[vfs:untested-uaccess 36/79] arch/m32r/kernel/traps.c:255:8: error: implicit declaration of function 'fixup_exception'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git untested-uaccess
head:   e4c5cc79ec8eab6bc3e74d9994b33f368f137223
commit: 87dc70fa1244ed0b27c835e9b91d59880515273b [36/79] m32r: switch to generic extable.h
config: m32r-m32104ut_defconfig (attached as .config)
compiler: m32r-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 87dc70fa1244ed0b27c835e9b91d59880515273b
        # save the attached .config to linux build tree
        make.cross ARCH=m32r 

All errors (new ones prefixed by >>):

   arch/m32r/kernel/traps.c: In function 'do_trap':
>> arch/m32r/kernel/traps.c:255:8: error: implicit declaration of function 'fixup_exception' [-Werror=implicit-function-declaration]
      if (!fixup_exception(regs))
           ^~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/fixup_exception +255 arch/m32r/kernel/traps.c

^1da177e Linus Torvalds 2005-04-16  249  			force_sig_info(signr, info, tsk);
^1da177e Linus Torvalds 2005-04-16  250  		else
^1da177e Linus Torvalds 2005-04-16  251  			force_sig(signr, tsk);
^1da177e Linus Torvalds 2005-04-16  252  		return;
^1da177e Linus Torvalds 2005-04-16  253  	} else {
^1da177e Linus Torvalds 2005-04-16  254  		/* kernel_trap */
^1da177e Linus Torvalds 2005-04-16 @255  		if (!fixup_exception(regs))
^1da177e Linus Torvalds 2005-04-16  256  			die(str, regs, error_code);
^1da177e Linus Torvalds 2005-04-16  257  		return;
^1da177e Linus Torvalds 2005-04-16  258  	}

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

:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux