linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [hwmon:hwmon-next 3/3] include/acpi/acpi_bus.h:52:20: error: conflicting types for 'acpi_evaluate_dsm'
@ 2020-04-25 21:09 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-04-25 21:09 UTC (permalink / raw)
  To: Andrej Picej; +Cc: kbuild-all, linux-hwmon, Guenter Roeck

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-25 21:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-25 21:09 [hwmon:hwmon-next 3/3] include/acpi/acpi_bus.h:52:20: error: conflicting types for 'acpi_evaluate_dsm' kbuild test robot

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).