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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 at users.sourceforge.jp>
:::::: CC: Yoshinori Sato <ysato at users.sourceforge.jp>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 4484 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/kexec/attachments/20161110/3a3e6f71/attachment-0001.gz>


[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux