From: kbuild test robot <lkp@intel.com>
To: Dou Liyang <douly.fnst@cn.fujitsu.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org, x86@kernel.org,
linux-acpi@vger.kernel.org, lenb@kernel.org, rjw@rjwysocki.net,
tglx@linutronix.de, rafael@kernel.org,
indou.takao@jp.fujitsu.com,
Dou Liyang <douly.fnst@cn.fujitsu.com>
Subject: Re: [RESEND PATCH v2] acpi/processor: Fix the return value of acpi_processor_ids_walk()
Date: Thu, 23 Aug 2018 19:57:35 +0800 [thread overview]
Message-ID: <201808231901.gERukxVd%fengguang.wu@intel.com> (raw)
In-Reply-To: <20180822074453.26959-1-douly.fnst@cn.fujitsu.com>
[-- Attachment #1: Type: text/plain, Size: 3775 bytes --]
Hi Dou,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on pm/linux-next]
[also build test ERROR on v4.18 next-20180822]
[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/Dou-Liyang/acpi-processor-Fix-the-return-value-of-acpi_processor_ids_walk/20180823-165002
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: x86_64-randconfig-r0-08231341 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
In file included from include/acpi/acpi.h:29:0,
from include/linux/acpi.h:34,
from drivers/acpi/acpi_processor.c:16:
drivers/acpi/acpi_processor.c: In function 'acpi_processor_ids_walk':
>> include/acpi/acoutput.h:391:19: error: implicit declaration of function 'acpi_ut_status_exit' [-Werror=implicit-function-declaration]
ACPI_TRACE_EXIT (acpi_ut_status_exit, acpi_status, status)
^
include/acpi/acoutput.h:274:44: note: in definition of macro 'ACPI_DO_WHILE0'
#define ACPI_DO_WHILE0(a) do a while(0)
^
include/acpi/acoutput.h:391:2: note: in expansion of macro 'ACPI_TRACE_EXIT'
ACPI_TRACE_EXIT (acpi_ut_status_exit, acpi_status, status)
^~~~~~~~~~~~~~~
drivers/acpi/acpi_processor.c:646:3: note: in expansion of macro 'return_ACPI_STATUS'
return_ACPI_STATUS(status);
^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
In file included from include/acpi/acpi.h:29:0,
from include/linux/acpi.h:34,
from drivers//acpi/acpi_processor.c:16:
drivers//acpi/acpi_processor.c: In function 'acpi_processor_ids_walk':
>> include/acpi/acoutput.h:391:19: error: implicit declaration of function 'acpi_ut_status_exit' [-Werror=implicit-function-declaration]
ACPI_TRACE_EXIT (acpi_ut_status_exit, acpi_status, status)
^
include/acpi/acoutput.h:274:44: note: in definition of macro 'ACPI_DO_WHILE0'
#define ACPI_DO_WHILE0(a) do a while(0)
^
include/acpi/acoutput.h:391:2: note: in expansion of macro 'ACPI_TRACE_EXIT'
ACPI_TRACE_EXIT (acpi_ut_status_exit, acpi_status, status)
^~~~~~~~~~~~~~~
drivers//acpi/acpi_processor.c:646:3: note: in expansion of macro 'return_ACPI_STATUS'
return_ACPI_STATUS(status);
^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/acpi_ut_status_exit +391 include/acpi/acoutput.h
0377b5ac Bob Moore 2012-12-31 383
0377b5ac Bob Moore 2012-12-31 384 #define return_VOID \
0377b5ac Bob Moore 2012-12-31 385 ACPI_DO_WHILE0 ({ \
0377b5ac Bob Moore 2012-12-31 386 acpi_ut_exit (ACPI_DEBUG_PARAMETERS); \
0377b5ac Bob Moore 2012-12-31 387 return; \
0377b5ac Bob Moore 2012-12-31 388 })
0377b5ac Bob Moore 2012-12-31 389
0377b5ac Bob Moore 2012-12-31 390 #define return_ACPI_STATUS(status) \
fd1af712 Bob Moore 2013-03-08 @391 ACPI_TRACE_EXIT (acpi_ut_status_exit, acpi_status, status)
0377b5ac Bob Moore 2012-12-31 392
:::::: The code at line 391 was first introduced by commit
:::::: fd1af7126fb62688cfcf4b563c73b2909ac30f74 ACPICA: Regression fix: reinstate safe exit macros
:::::: TO: Bob Moore <robert.moore@intel.com>
:::::: CC: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 32427 bytes --]
next prev parent reply other threads:[~2018-08-23 11:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-22 7:44 Dou Liyang
2018-08-23 11:57 ` kbuild test robot [this message]
2018-08-23 12:46 ` kbuild test robot
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=201808231901.gERukxVd%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=douly.fnst@cn.fujitsu.com \
--cc=indou.takao@jp.fujitsu.com \
--cc=kbuild-all@01.org \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=rjw@rjwysocki.net \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/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®