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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 10 Jan 2017 10:24:34 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Paul Gortmaker <paul.gortmaker@...driver.com>
Cc:     kbuild-all@...org, linux-arch@...r.kernel.org,
        linux-kernel@...r.kernel.org,
        Paul Gortmaker <paul.gortmaker@...driver.com>,
        Rusty Russell <rusty@...tcorp.com.au>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH 10/10] module.h: remove extable.h include now users have
 migrated

Hi Paul,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.10-rc3 next-20170106]
[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/Paul-Gortmaker/Finalize-separation-of-extable-h-from-module-h/20170110-095123
config: openrisc-or1ksim_defconfig (attached as .config)
compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1
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=openrisc 

All error/warnings (new ones prefixed by >>):

   arch/openrisc/mm/fault.c: In function 'do_page_fault':
>> arch/openrisc/mm/fault.c:240:3: error: implicit declaration of function 'search_exception_tables'
>> arch/openrisc/mm/fault.c:240:14: warning: assignment makes pointer from integer without a cast

vim +/search_exception_tables +240 arch/openrisc/mm/fault.c

61e85e36 Jonas Bonn 2011-06-04  224  no_context:
61e85e36 Jonas Bonn 2011-06-04  225  
61e85e36 Jonas Bonn 2011-06-04  226  	/* Are we prepared to handle this kernel fault?
61e85e36 Jonas Bonn 2011-06-04  227  	 *
61e85e36 Jonas Bonn 2011-06-04  228  	 * (The kernel has valid exception-points in the source
61e85e36 Jonas Bonn 2011-06-04  229  	 *  when it acesses user-memory. When it fails in one
61e85e36 Jonas Bonn 2011-06-04  230  	 *  of those points, we find it in a table and do a jump
61e85e36 Jonas Bonn 2011-06-04  231  	 *  to some fixup code that loads an appropriate error
61e85e36 Jonas Bonn 2011-06-04  232  	 *  code)
61e85e36 Jonas Bonn 2011-06-04  233  	 */
61e85e36 Jonas Bonn 2011-06-04  234  
61e85e36 Jonas Bonn 2011-06-04  235  	{
61e85e36 Jonas Bonn 2011-06-04  236  		const struct exception_table_entry *entry;
61e85e36 Jonas Bonn 2011-06-04  237  
61e85e36 Jonas Bonn 2011-06-04  238  		__asm__ __volatile__("l.nop 42");
61e85e36 Jonas Bonn 2011-06-04  239  
61e85e36 Jonas Bonn 2011-06-04 @240  		if ((entry = search_exception_tables(regs->pc)) != NULL) {
61e85e36 Jonas Bonn 2011-06-04  241  			/* Adjust the instruction pointer in the stackframe */
61e85e36 Jonas Bonn 2011-06-04  242  			regs->pc = entry->fixup;
61e85e36 Jonas Bonn 2011-06-04  243  			return;
61e85e36 Jonas Bonn 2011-06-04  244  		}
61e85e36 Jonas Bonn 2011-06-04  245  	}
61e85e36 Jonas Bonn 2011-06-04  246  
61e85e36 Jonas Bonn 2011-06-04  247  	/*
61e85e36 Jonas Bonn 2011-06-04  248  	 * Oops. The kernel tried to access some bad page. We'll have to

:::::: The code at line 240 was first introduced by commit
:::::: 61e85e367535a7b6385b404bef93928768140f96 OpenRISC: Memory management

:::::: TO: Jonas Bonn <jonas@...thpole.se>
:::::: CC: Jonas Bonn <jonas@...thpole.se>

---
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" (7356 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ