From: Philipp Zabel <p.zabel@pengutronix.de>
To: kernel test robot <lkp@intel.com>,
Krishna Yarlagadda <kyarlagadda@nvidia.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: Re: [pza:reset/next 11/11] drivers/reset/core.c:1114:22: error: implicit declaration of function 'acpi_has_method'; did you mean 'acpi_has_watchdog'?
Date: Mon, 04 Apr 2022 16:00:47 +0200 [thread overview]
Message-ID: <4a60a46820858adbd9de3b41d37fbc8ddc6c6549.camel@pengutronix.de> (raw)
In-Reply-To: <202204042122.vBjzQg7a-lkp@intel.com>
On Mo, 2022-04-04 at 21:25 +0800, kernel test robot wrote:
> tree: https://git.pengutronix.de/git/pza/linux reset/next
> head: 7272ce0fa39b66aa91c934a27e9196082a3ffc40
> commit: 7272ce0fa39b66aa91c934a27e9196082a3ffc40 [11/11] reset: ACPI
> reset support
> config: h8300-randconfig-m031-20220404 (
> https://download.01.org/0day-ci/archive/20220404/202204042122.vBjzQg7a-lkp@intel.com/config
> )
> compiler: h8300-linux-gcc (GCC) 11.2.0
> 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
> git remote add pza https://git.pengutronix.de/git/pza/linux
> git fetch --no-tags pza reset/next
> git checkout 7272ce0fa39b66aa91c934a27e9196082a3ffc40
> # save the config file to linux build tree
> mkdir build_dir
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0
> make.cross O=build_dir ARCH=h8300 SHELL=/bin/bash drivers/reset/
>
> 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/reset/core.c: In function '__device_reset':
> > > drivers/reset/core.c:1114:22: error: implicit declaration of
> > > function 'acpi_has_method'; did you mean 'acpi_has_watchdog'? [-
> > > Werror=implicit-function-declaration]
> 1114 | if (!acpi_has_method(handle, "_RST"))
> | ^~~~~~~~~~~~~~~
> | acpi_has_watchdog
> cc1: some warnings being treated as errors
Apologies, I should have caught this. Unfortunately we are missing
stubs for the ACPI functions. I'll fix it up by wrapping the new code
in #ifdef CONFIG_ACPI.
regards
Philipp
prev parent reply other threads:[~2022-04-04 14:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-04 13:25 kernel test robot
2022-04-04 14:00 ` Philipp Zabel [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=4a60a46820858adbd9de3b41d37fbc8ddc6c6549.camel@pengutronix.de \
--to=p.zabel@pengutronix.de \
--cc=kbuild-all@lists.01.org \
--cc=kyarlagadda@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@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®