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


Groups > linux.kernel > #1247118

Re: [PATCH][v5] PM / hibernate: Print the possible panic reason when resuming with inconsistent e820 map

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH][v5] PM / hibernate: Print the possible panic reason when resuming with inconsistent e820 map
Date 2015-10-14 21:50 +0200
Message-ID <qjAdH-8se-7@gated-at.bofh.it> (permalink)
References <qjzrk-7fk-23@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 Chen,

[auto build test ERROR on tip/x86/core -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Chen-Yu/PM-hibernate-Print-the-possible-panic-reason-when-resuming-with-inconsistent-e820-map/20151015-030054
config: i386-randconfig-s1-201541 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In file included from arch/x86/kernel/asm-offsets.c:12:0:
>> include/linux/suspend.h:366:20: error: static declaration of 'arch_image_info_check' follows non-static declaration
    static inline bool arch_image_info_check(const char *new,
                       ^
   In file included from include/linux/suspend.h:11:0,
                    from arch/x86/kernel/asm-offsets.c:12:
   arch/x86/include/asm/suspend.h:8:13: note: previous declaration of 'arch_image_info_check' was here
    extern bool arch_image_info_check(const char *new, const char *old);
                ^
   In file included from arch/x86/kernel/asm-offsets.c:12:0:
>> include/linux/suspend.h:372:19: error: static declaration of 'arch_image_info_save' follows non-static declaration
    static inline int arch_image_info_save(char *dst,
                      ^
   In file included from include/linux/suspend.h:11:0,
                    from arch/x86/kernel/asm-offsets.c:12:
   arch/x86/include/asm/suspend.h:7:12: note: previous declaration of 'arch_image_info_save' was here
    extern int arch_image_info_save(char *dst, char *src, unsigned int limit_len);
               ^
   make[2]: *** [arch/x86/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [sub-make] Error 2

vim +/arch_image_info_check +366 include/linux/suspend.h

   360	static inline int hibernate(void) { return -ENOSYS; }
   361	static inline bool system_entering_hibernation(void) { return false; }
   362	static inline bool hibernation_available(void) { return false; }
   363	#endif /* CONFIG_HIBERNATION */
   364	
   365	#ifndef CONFIG_ARCH_RESUME_IMAGE_CHECKER
 > 366	static inline bool arch_image_info_check(const char *new,
   367						 const char *old)
   368	{
   369		return true;
   370	}
   371	
 > 372	static inline int arch_image_info_save(char *dst,
   373						char *src,
   374						unsigned int limit_len)
   375	{

---
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 | Next in thread | Find similar | Unroll thread


Thread

[PATCH][v5] PM / hibernate: Print the possible panic reason when resuming with inconsistent e820 map Chen Yu <yu.c.chen@intel.com> - 2015-10-14 21:00 +0200
  Re: [PATCH][v5] PM / hibernate: Print the possible panic reason when  resuming with inconsistent e820 map kbuild test robot <lkp@intel.com> - 2015-10-14 21:50 +0200
  Re: [PATCH][v5] PM / hibernate: Print the possible panic reason when  resuming with inconsistent e820 map kbuild test robot <lkp@intel.com> - 2015-10-14 22:20 +0200
  Re: [PATCH][v5] PM / hibernate: Print the possible panic reason when  resuming with inconsistent e820 map kbuild test robot <lkp@intel.com> - 2015-10-14 23:10 +0200
  Re: [PATCH][v5] PM / hibernate: Print the possible panic reason when  resuming with inconsistent e820 map kbuild test robot <lkp@intel.com> - 2015-10-14 23:10 +0200
  RE: [PATCH][v5] PM / hibernate: Print the possible panic reason  when resuming with inconsistent e820 map "Chen, Yu C" <yu.c.chen@intel.com> - 2015-10-15 03:50 +0200

csiph-web