Re: [PATCH 10/10] module.h: remove extable.h include now users have migrated
From: kbuild test robot
Date: Mon Jan 09 2017 - 21:24:58 EST
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@xxxxxxxxxxxx>
:::::: CC: Jonas Bonn <jonas@xxxxxxxxxxxx>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip