Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1518994

Re: [PATCH 1/3] crash: move crashkernel parsing and vmcore related code under CONFIG_CRASH_CORE

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/3] crash: move crashkernel parsing and vmcore related code under CONFIG_CRASH_CORE
Date 2016-11-10 15:00 +0100
Message-ID <sBY3v-6TP-17@gated-at.bofh.it> (permalink)
References <sBWbn-5Fm-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Hari,

[auto build test WARNING on linus/master]
[also build test WARNING on v4.9-rc4]
[cannot apply to powerpc/next next-20161110]
[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/Hari-Bathini/kexec-fadump-remove-dependency-with-CONFIG_KEXEC-and-reuse-crashkernel-parameter-for-fadump/20161110-200330
config: h8300-h8300h-sim_defconfig (attached as .config)
compiler: h8300-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=h8300 

All warnings (new ones prefixed by >>):

   In file included from arch/h8300/include/asm/elf.h:8:0,
                    from include/linux/elfcore.h:6,
                    from include/linux/crash_core.h:5,
                    from include/linux/kexec.h:17,
                    from kernel/reboot.c:11:
>> arch/h8300/include/asm/ptrace.h:31:34: warning: 'struct task_struct' declared inside parameter list will not be visible outside of this definition or declaration
    extern long h8300_get_reg(struct task_struct *task, int regno);
                                     ^~~~~~~~~~~
   arch/h8300/include/asm/ptrace.h:32:33: warning: 'struct task_struct' declared inside parameter list will not be visible outside of this definition or declaration
    extern int h8300_put_reg(struct task_struct *task, int regno,
                                    ^~~~~~~~~~~

vim +31 arch/h8300/include/asm/ptrace.h

d2a5f499 Yoshinori Sato 2015-05-11  15  #define H8300_REGS_NO 12
d2a5f499 Yoshinori Sato 2015-05-11  16  #endif
d2a5f499 Yoshinori Sato 2015-05-11  17  
d2a5f499 Yoshinori Sato 2015-05-11  18  #define arch_has_single_step()	(1)
d2a5f499 Yoshinori Sato 2015-05-11  19  
d2a5f499 Yoshinori Sato 2015-05-11  20  #define user_mode(regs) (!((regs)->ccr & PS_S))
d2a5f499 Yoshinori Sato 2015-05-11  21  #define instruction_pointer(regs) ((regs)->pc)
d2a5f499 Yoshinori Sato 2015-05-11  22  #define profile_pc(regs) instruction_pointer(regs)
d2a5f499 Yoshinori Sato 2015-05-11  23  #define user_stack_pointer(regs) ((regs)->sp)
d2a5f499 Yoshinori Sato 2015-05-11  24  #define current_pt_regs() ((struct pt_regs *) \
d2a5f499 Yoshinori Sato 2015-05-11  25  	(THREAD_SIZE + (unsigned long)current_thread_info()) - 1)
d2a5f499 Yoshinori Sato 2015-05-11  26  #define signal_pt_regs() ((struct pt_regs *)current->thread.esp0)
d2a5f499 Yoshinori Sato 2015-05-11  27  #define current_user_stack_pointer() rdusp()
d2a5f499 Yoshinori Sato 2015-05-11  28  #define task_pt_regs(task) \
d2a5f499 Yoshinori Sato 2015-05-11  29  	((struct pt_regs *) (task_stack_page(task) + THREAD_SIZE) - 1)
d2a5f499 Yoshinori Sato 2015-05-11  30  
d2a5f499 Yoshinori Sato 2015-05-11 @31  extern long h8300_get_reg(struct task_struct *task, int regno);
d2a5f499 Yoshinori Sato 2015-05-11  32  extern int h8300_put_reg(struct task_struct *task, int regno,
d2a5f499 Yoshinori Sato 2015-05-11  33  			 unsigned long data);
d2a5f499 Yoshinori Sato 2015-05-11  34  
d2a5f499 Yoshinori Sato 2015-05-11  35  #endif /* __ASSEMBLY__ */
d2a5f499 Yoshinori Sato 2015-05-11  36  #endif /* _H8300_PTRACE_H */

:::::: The code at line 31 was first introduced by commit
:::::: d2a5f4999f6c211adf30d9788349e13988d6f2a7 h8300: Assembly headers

:::::: TO: Yoshinori Sato <ysato@users.sourceforge.jp>
:::::: CC: Yoshinori Sato <ysato@users.sourceforge.jp>

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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/3] crash: move crashkernel parsing and vmcore related code  under CONFIG_CRASH_CORE Hari Bathini <hbathini@linux.vnet.ibm.com> - 2016-11-10 13:00 +0100
  Re: [PATCH 1/3] crash: move crashkernel parsing and vmcore related  code under CONFIG_CRASH_CORE kbuild test robot <lkp@intel.com> - 2016-11-10 15:00 +0100

csiph-web