From: kernel test robot <lkp@intel.com>
To: Sudeep Holla <sudeep.holla@arm.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
Subject: [sudeep-holla:v5.15/pcc_type3 15/16] drivers/acpi/pcc_opregion.c:30:2: error: implicit declaration of function 'acpi_ut_status_exit'
Date: Sat, 30 Oct 2021 09:53:44 +0800 [thread overview]
Message-ID: <202110300935.QtWwtS7u-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3875 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git v5.15/pcc_type3
head: e658e18863fdb31547d280d6446d97b986a66a6a
commit: 53fb88f932935375cd221ddbac3d9b7751718005 [15/16] ACPI: Add support for PCC opregion
config: i386-randconfig-c001-20211029 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 5db7568a6a1fcb408eb8988abdaff2a225a8eb72)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git/commit/?id=53fb88f932935375cd221ddbac3d9b7751718005
git remote add sudeep-holla https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git
git fetch --no-tags sudeep-holla v5.15/pcc_type3
git checkout 53fb88f932935375cd221ddbac3d9b7751718005
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/acpi/pcc_opregion.c:30:2: error: implicit declaration of function 'acpi_ut_status_exit' [-Werror,-Wimplicit-function-declaration]
return_ACPI_STATUS(AE_NOT_IMPLEMENTED);
^
include/acpi/acoutput.h:398:19: note: expanded from macro 'return_ACPI_STATUS'
ACPI_TRACE_EXIT (acpi_ut_status_exit, acpi_status, status)
^
drivers/acpi/pcc_opregion.c:30:2: note: did you mean 'acpi_irq_stats_init'?
include/acpi/acoutput.h:398:19: note: expanded from macro 'return_ACPI_STATUS'
ACPI_TRACE_EXIT (acpi_ut_status_exit, acpi_status, status)
^
include/linux/acpi.h:320:6: note: 'acpi_irq_stats_init' declared here
void acpi_irq_stats_init(void);
^
>> drivers/acpi/pcc_opregion.c:30:2: error: use of undeclared identifier '_acpi_module_name'
return_ACPI_STATUS(AE_NOT_IMPLEMENTED);
^
include/acpi/acoutput.h:398:2: note: expanded from macro 'return_ACPI_STATUS'
ACPI_TRACE_EXIT (acpi_ut_status_exit, acpi_status, status)
^
include/acpi/acoutput.h:375:13: note: expanded from macro 'ACPI_TRACE_EXIT'
function (ACPI_DEBUG_PARAMETERS, _param); \
^
include/acpi/acoutput.h:258:36: note: expanded from macro 'ACPI_DEBUG_PARAMETERS'
__LINE__, ACPI_GET_FUNCTION_NAME, _acpi_module_name, _COMPONENT
^
>> drivers/acpi/pcc_opregion.c:30:2: error: use of undeclared identifier '_COMPONENT'
include/acpi/acoutput.h:398:2: note: expanded from macro 'return_ACPI_STATUS'
ACPI_TRACE_EXIT (acpi_ut_status_exit, acpi_status, status)
^
include/acpi/acoutput.h:375:13: note: expanded from macro 'ACPI_TRACE_EXIT'
function (ACPI_DEBUG_PARAMETERS, _param); \
^
include/acpi/acoutput.h:258:55: note: expanded from macro 'ACPI_DEBUG_PARAMETERS'
__LINE__, ACPI_GET_FUNCTION_NAME, _acpi_module_name, _COMPONENT
^
3 errors generated.
vim +/acpi_ut_status_exit +30 drivers/acpi/pcc_opregion.c
23
24 static acpi_status
25 acpi_pcc_opregion_space_handler(u32 function, acpi_physical_address addr,
26 u32 bits, acpi_integer *value,
27 void *handler_context, void *region_context)
28 {
29 pr_info("%s: %llx\n", __func__, addr);
> 30 return_ACPI_STATUS(AE_NOT_IMPLEMENTED);
31 }
32
---
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: 35114 bytes --]
next reply other threads:[~2021-10-30 1:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-30 1:53 kernel test robot [this message]
2021-10-30 13:03 ` [sudeep-holla:v5.15/pcc_type3 15/16] drivers/acpi/pcc_opregion.c:30:2: error: implicit declaration of function 'acpi_ut_status_exit' Sudeep Holla
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=202110300935.QtWwtS7u-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=sudeep.holla@arm.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