From: kernel test robot <lkp@intel.com>
To: kernel@openeuler.org, shiyongbang <shiyongbang@huawei.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [openeuler:OLK-5.10 24732/30000] drivers/char/ipmi/ipmi_bt_sm.c:194:18: error: implicit declaration of function 'acpi_evaluate_integer'; did you mean 'acpi_evaluate_object'?
Date: Tue, 23 Apr 2024 05:10:15 +0800 [thread overview]
Message-ID: <202404230552.HyMsovr7-lkp@intel.com> (raw)
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: b05f2de3edcf4fc1b98ced476a06a62b961d3cce
commit: c1d32ce403f2c2b53138bfdba94c67cad8d137fd [24732/30000] ipmi: Errata workaround to prevent SMS message processing timeout
config: arm64-randconfig-002-20240423 (https://download.01.org/0day-ci/archive/20240423/202404230552.HyMsovr7-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240423/202404230552.HyMsovr7-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404230552.HyMsovr7-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/char/ipmi/ipmi_bt_sm.c: In function 'get_sms_atn_quirk':
>> drivers/char/ipmi/ipmi_bt_sm.c:194:18: error: implicit declaration of function 'acpi_evaluate_integer'; did you mean 'acpi_evaluate_object'? [-Werror=implicit-function-declaration]
194 | status = acpi_evaluate_integer(handle, "SATN", NULL, &tmp);
| ^~~~~~~~~~~~~~~~~~~~~
| acpi_evaluate_object
cc1: some warnings being treated as errors
vim +194 drivers/char/ipmi/ipmi_bt_sm.c
177
178 #ifdef CONFIG_HISILICON_ERRATUM_162102203
179 /*
180 * To confirm whether the SMS_ATN flag needs to be stored and get
181 * quirk through the method reported by the BIOS. Because in special
182 * cases SMS_ATN flag bits may be lost before being processed.
183 */
184 static bool get_sms_atn_quirk(struct si_sm_io *io)
185 {
186 acpi_handle handle;
187 acpi_status status;
188 unsigned long long tmp;
189
190 handle = ACPI_HANDLE(io->dev);
191 if (!handle)
192 return false;
193
> 194 status = acpi_evaluate_integer(handle, "SATN", NULL, &tmp);
195 if (ACPI_FAILURE(status))
196 return false;
197 else if (tmp != 1)
198 return false;
199
200 return true;
201 }
202 #endif
203
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-04-22 21:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202404230552.HyMsovr7-lkp@intel.com \
--to=lkp@intel.com \
--cc=kernel@openeuler.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=shiyongbang@huawei.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.