public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Liguang Zhang <zhangliguang@linux.alibaba.com>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	Len Brown <lenb@kernel.org>, James Morse <james.morse@arm.com>,
	Tony Luck <tony.luck@intel.com>, Borislav Petkov <bp@alien8.de>
Cc: kbuild-all@lists.01.org, linux-acpi@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Liguang Zhang <zhangliguang@linux.alibaba.com>
Subject: Re: [PATCH] ACPI / APEI: restore interrupt before panic in sdei flow
Date: Tue, 12 Oct 2021 07:06:12 +0800	[thread overview]
Message-ID: <202110120748.EROxcYlY-lkp@intel.com> (raw)
In-Reply-To: <20211011151028.105215-1-zhangliguang@linux.alibaba.com>

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

Hi Liguang,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on rafael-pm/linux-next]
[also build test WARNING on linux/master linus/master v5.15-rc5 next-20211011]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Liguang-Zhang/ACPI-APEI-restore-interrupt-before-panic-in-sdei-flow/20211011-231126
base:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: x86_64-randconfig-a012-20211011 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/0day-ci/linux/commit/abb332bc84212b2ef288bb3e7ad24a04cd4853e6
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Liguang-Zhang/ACPI-APEI-restore-interrupt-before-panic-in-sdei-flow/20211011-231126
        git checkout abb332bc84212b2ef288bb3e7ad24a04cd4853e6
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   In file included from drivers/acpi/apei/ghes.c:20:
>> include/linux/arm_sdei.h:53:5: warning: no previous prototype for 'sdei_api_event_complete_and_resume' [-Wmissing-prototypes]
      53 | int sdei_api_event_complete_and_resume(u64 addr) { return 0; }
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/sdei_api_event_complete_and_resume +53 include/linux/arm_sdei.h

    44	
    45	#ifdef CONFIG_ARM_SDE_INTERFACE
    46	/* For use by arch code when CPU hotplug notifiers are not appropriate. */
    47	int sdei_mask_local_cpu(void);
    48	int sdei_unmask_local_cpu(void);
    49	int sdei_api_event_complete_and_resume(u64 addr);
    50	#else
    51	static inline int sdei_mask_local_cpu(void) { return 0; }
    52	static inline int sdei_unmask_local_cpu(void) { return 0; }
  > 53	int sdei_api_event_complete_and_resume(u64 addr) { return 0; }
    54	#endif /* CONFIG_ARM_SDE_INTERFACE */
    55	
    56	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32522 bytes --]

      parent reply	other threads:[~2021-10-11 23:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-11 15:10 [PATCH] ACPI / APEI: restore interrupt before panic in sdei flow Liguang Zhang
2021-10-11 16:23 ` Borislav Petkov
2021-10-11 23:06 ` kernel test robot [this message]

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=202110120748.EROxcYlY-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bp@alien8.de \
    --cc=james.morse@arm.com \
    --cc=kbuild-all@lists.01.org \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=tony.luck@intel.com \
    --cc=zhangliguang@linux.alibaba.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