Messages in this thread | | | Date | Thu, 15 Oct 2015 03:39:40 +0800 | From | kbuild test robot <> | Subject | Re: [PATCH][v5] PM / hibernate: Print the possible panic reason when resuming with inconsistent e820 map |
| |
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 [unhandled content-type:application/octet-stream] | |