From: kbuild test robot <lkp@intel.com>
To: Andrej Picej <andpicej@gmail.com>
Cc: kbuild-all@lists.01.org, linux-hwmon@vger.kernel.org,
Guenter Roeck <linux@roeck-us.net>
Subject: [hwmon:hwmon-next 3/3] include/acpi/acpi_bus.h:52:20: error: conflicting types for 'acpi_evaluate_dsm'
Date: Sun, 26 Apr 2020 05:09:27 +0800 [thread overview]
Message-ID: <202004260513.i54lHiXZ%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3109 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next
head: 47b0952d60828200779a75c213fc963791e1a6e5
commit: 47b0952d60828200779a75c213fc963791e1a6e5 [3/3] hwmon: (lm70) Add support for ACPI
config: nios2-randconfig-a001-20200426 (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 47b0952d60828200779a75c213fc963791e1a6e5
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=nios2
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All error/warnings (new ones prefixed by >>):
In file included from drivers/hwmon/lm70.c:29:
>> include/acpi/acpi_bus.h:52:20: error: conflicting types for 'acpi_evaluate_dsm'
52 | union acpi_object *acpi_evaluate_dsm(acpi_handle handle, const guid_t *guid,
| ^~~~~~~~~~~~~~~~~
In file included from drivers/hwmon/lm70.c:28:
include/linux/acpi.h:866:34: note: previous definition of 'acpi_evaluate_dsm' was here
866 | static inline union acpi_object *acpi_evaluate_dsm(acpi_handle handle,
| ^~~~~~~~~~~~~~~~~
In file included from drivers/hwmon/lm70.c:30:
>> include/acpi/acpi_drivers.h:89:43: warning: 'struct acpi_pci_root' declared inside parameter list will not be visible outside of this definition or declaration
89 | struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root);
| ^~~~~~~~~~~~~
drivers/hwmon/lm70.c: In function 'lm70_probe':
>> drivers/hwmon/lm70.c:189:34: error: 'lm70_acpi_ids' undeclared (first use in this function); did you mean 'lm70_of_ids'?
189 | acpi_match = acpi_match_device(lm70_acpi_ids, &spi->dev);
| ^~~~~~~~~~~~~
| lm70_of_ids
drivers/hwmon/lm70.c:189:34: note: each undeclared identifier is reported only once for each function it appears in
vim +/acpi_evaluate_dsm +52 include/acpi/acpi_bus.h
952c63e9512b63 Jiang Liu 2013-06-29 50
94116f8126de97 Andy Shevchenko 2017-06-05 51 bool acpi_check_dsm(acpi_handle handle, const guid_t *guid, u64 rev, u64 funcs);
94116f8126de97 Andy Shevchenko 2017-06-05 @52 union acpi_object *acpi_evaluate_dsm(acpi_handle handle, const guid_t *guid,
c7e16e5257ec46 Jerry Hoemann 2016-04-11 53 u64 rev, u64 func, union acpi_object *argv4);
a65ac52041ccca Jiang Liu 2013-12-19 54
:::::: The code at line 52 was first introduced by commit
:::::: 94116f8126de9762751fd92731581b73b56292e5 ACPI: Switch to use generic guid_t in acpi_evaluate_dsm()
:::::: TO: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
:::::: CC: Christoph Hellwig <hch@lst.de>
---
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: 26519 bytes --]
reply other threads:[~2020-04-25 21:24 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=202004260513.i54lHiXZ%lkp@intel.com \
--to=lkp@intel.com \
--cc=andpicej@gmail.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux@roeck-us.net \
/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;
as well as URLs for NNTP newsgroup(s).