Re: [PATCH 05/14] mips: migrate exception table users off module.h and onto extable.h

From: kbuild test robot
Date: Mon Jul 25 2016 - 05:09:30 EST


Hi,

[auto build test ERROR on next-20160724]
[cannot apply to stable/master linus/master linux/master v4.7-rc7 v4.7-rc6 v4.7-rc5 v4.7]
[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/split-exception-table-content-out-of-module-h-into-extable-h/20160725-152314
config: mips-jz4740 (attached as .config)
compiler: mips-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
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=mips

All errors (new ones prefixed by >>):

arch/mips/kernel/traps.c: In function 'show_registers':
>> arch/mips/kernel/traps.c:354:2: error: implicit declaration of function 'print_modules' [-Werror=implicit-function-declaration]
print_modules();
^
cc1: some warnings being treated as errors

vim +/print_modules +354 arch/mips/kernel/traps.c

c1bf207d David Daney 2010-08-03 348 void show_registers(struct pt_regs *regs)
^1da177e Linus Torvalds 2005-04-16 349 {
39b8d525 Ralf Baechle 2008-04-28 350 const int field = 2 * sizeof(unsigned long);
83e4da1e Leonid Yegoshin 2013-10-08 351 mm_segment_t old_fs = get_fs();
39b8d525 Ralf Baechle 2008-04-28 352
eae23f2c Ralf Baechle 2007-10-14 353 __show_regs(regs);
^1da177e Linus Torvalds 2005-04-16 @354 print_modules();
39b8d525 Ralf Baechle 2008-04-28 355 printk("Process %s (pid: %d, threadinfo=%p, task=%p, tls=%0*lx)\n",
39b8d525 Ralf Baechle 2008-04-28 356 current->comm, current->pid, current_thread_info(), current,
39b8d525 Ralf Baechle 2008-04-28 357 field, current_thread_info()->tp_value);

:::::: The code at line 354 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: Binary data