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: frv-defconfig (attached as .config) compiler: frv-linux-gcc (GCC) 6.2.0 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=frv All error/warnings (new ones prefixed by >>): arch/frv/mm/extable.c: In function 'search_exception_table': >> arch/frv/mm/extable.c:43:10: error: implicit declaration of function >> 'search_exception_tables' [-Werror=implicit-function-declaration] extab = search_exception_tables(pc); ^~~ >> arch/frv/mm/extable.c:43:8: warning: assignment makes pointer from integer >> without a cast [-Wint-conversion] extab = search_exception_tables(pc); ^ cc1: some warnings being treated as errors vim +/search_exception_tables +43 arch/frv/mm/extable.c ^1da177e Linus Torvalds 2005-04-16 27 * - we search for the return address (in LR) instead of the program counter ^1da177e Linus Torvalds 2005-04-16 28 * - it was probably during a clear_user() ^1da177e Linus Torvalds 2005-04-16 29 */ ^1da177e Linus Torvalds 2005-04-16 30 return (unsigned long) &__memset_user_error_handler; ^1da177e Linus Torvalds 2005-04-16 31 } 018b8d12 David Howells 2006-01-08 32 018b8d12 David Howells 2006-01-08 33 if (__frame->lr == (unsigned long) &__memcpy_user_error_lr && ^1da177e Linus Torvalds 2005-04-16 34 (unsigned long) <= pc && pc < (unsigned long) &__memcpy_end ^1da177e Linus Torvalds 2005-04-16 35 ) { ^1da177e Linus Torvalds 2005-04-16 36 /* the fault occurred in a protected memset ^1da177e Linus Torvalds 2005-04-16 37 * - we search for the return address (in LR) instead of the program counter ^1da177e Linus Torvalds 2005-04-16 38 * - it was probably during a copy_to/from_user() ^1da177e Linus Torvalds 2005-04-16 39 */ ^1da177e Linus Torvalds 2005-04-16 40 return (unsigned long) &__memcpy_user_error_handler; ^1da177e Linus Torvalds 2005-04-16 41 } ^1da177e Linus Torvalds 2005-04-16 42 018b8d12 David Howells 2006-01-08 @43 extab = search_exception_tables(pc); 018b8d12 David Howells 2006-01-08 44 if (extab) 018b8d12 David Howells 2006-01-08 45 return extab->fixup; ^1da177e Linus Torvalds 2005-04-16 46 018b8d12 David Howells 2006-01-08 47 return 0; ^1da177e Linus Torvalds 2005-04-16 48 ^1da177e Linus Torvalds 2005-04-16 49 } /* end search_exception_table() */ :: The code at line 43 was first introduced by commit :: 018b8d12bc85f8fb332239b11d919ea0724c49a4 [PATCH] frv: support module exception tables :: TO: David Howells:: CC: Linus Torvalds --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
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: frv-defconfig (attached as .config) compiler: frv-linux-gcc (GCC) 6.2.0 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=frv All error/warnings (new ones prefixed by >>): arch/frv/mm/extable.c: In function 'search_exception_table': >> arch/frv/mm/extable.c:43:10: error: implicit declaration of function >> 'search_exception_tables' [-Werror=implicit-function-declaration] extab = search_exception_tables(pc); ^~~ >> arch/frv/mm/extable.c:43:8: warning: assignment makes pointer from integer >> without a cast [-Wint-conversion] extab = search_exception_tables(pc); ^ cc1: some warnings being treated as errors vim +/search_exception_tables +43 arch/frv/mm/extable.c ^1da177e Linus Torvalds 2005-04-16 27 * - we search for the return address (in LR) instead of the program counter ^1da177e Linus Torvalds 2005-04-16 28 * - it was probably during a clear_user() ^1da177e Linus Torvalds 2005-04-16 29 */ ^1da177e Linus Torvalds 2005-04-16 30 return (unsigned long) &__memset_user_error_handler; ^1da177e Linus Torvalds 2005-04-16 31 } 018b8d12 David Howells 2006-01-08 32 018b8d12 David Howells 2006-01-08 33 if (__frame->lr == (unsigned long) &__memcpy_user_error_lr && ^1da177e Linus Torvalds 2005-04-16 34 (unsigned long) <= pc && pc < (unsigned long) &__memcpy_end ^1da177e Linus Torvalds 2005-04-16 35 ) { ^1da177e Linus Torvalds 2005-04-16 36 /* the fault occurred in a protected memset ^1da177e Linus Torvalds 2005-04-16 37 * - we search for the return address (in LR) instead of the program counter ^1da177e Linus Torvalds 2005-04-16 38 * - it was probably during a copy_to/from_user() ^1da177e Linus Torvalds 2005-04-16 39 */ ^1da177e Linus Torvalds 2005-04-16 40 return (unsigned long) &__memcpy_user_error_handler; ^1da177e Linus Torvalds 2005-04-16 41 } ^1da177e Linus Torvalds 2005-04-16 42 018b8d12 David Howells 2006-01-08 @43 extab = search_exception_tables(pc); 018b8d12 David Howells 2006-01-08 44 if (extab) 018b8d12 David Howells 2006-01-08 45 return extab->fixup; ^1da177e Linus Torvalds 2005-04-16 46 018b8d12 David Howells 2006-01-08 47 return 0; ^1da177e Linus Torvalds 2005-04-16 48 ^1da177e Linus Torvalds 2005-04-16 49 } /* end search_exception_table() */ :: The code at line 43 was first introduced by commit :: 018b8d12bc85f8fb332239b11d919ea0724c49a4 [PATCH] frv: support module exception tables :: TO: David Howells :: CC: Linus Torvalds --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
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:: CC: Jonas Bonn --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip
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 :: CC: Jonas Bonn --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: application/gzip