mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Chen Yu <yu.c.chen@intel.com>
Cc: kbuild-all@01.org, pavel@ucw.cz, rjw@rjwysocki.net,
	tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com,
	len.brown@intel.com, rui.zhang@intel.com, x86@kernel.org,
	linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
	Chen Yu <yu.c.chen@intel.com>
Subject: Re: [PATCH][v5] PM / hibernate: Print the possible panic reason when resuming with inconsistent e820 map
Date: Thu, 15 Oct 2015 03:39:40 +0800	[thread overview]
Message-ID: <201510150350.kErLrlw8%fengguang.wu@intel.com> (raw)
In-Reply-To: <1444849196-7048-1-git-send-email-yu.c.chen@intel.com>

[-- Attachment #1: Type: text/plain, Size: 2668 bytes --]

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 24483 bytes --]

  reply	other threads:[~2015-10-14 19:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-14 18:59 Chen Yu
2015-10-14 19:39 ` kbuild test robot [this message]
2015-10-14 20:10 ` kbuild test robot
2015-10-14 21:00 ` kbuild test robot
2015-10-14 21:04 ` kbuild test robot
2015-10-15  1:40 ` Chen, Yu C

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201510150350.kErLrlw8%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=hpa@zytor.com \
    --cc=kbuild-all@01.org \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=pavel@ucw.cz \
    --cc=rjw@rjwysocki.net \
    --cc=rui.zhang@intel.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    --cc=yu.c.chen@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®