Messages in this thread | | | Date | Wed, 25 Jan 2017 19:00:27 +0800 | From | kbuild test robot <> | Subject | Re: [PATCH 2/7] ACPI / property: have acpi_get_next_subnode take fwnode_handle |
| |
Hi Dmitry,
[auto build test ERROR on regulator/for-next] [also build test ERROR on v4.10-rc5 next-20170125] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Furquan-Shaikh/Implement-generic-regulator-constraints-parsing-for-ACPI-and-OF/20170125-171807 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next config: i386-randconfig-x004-201704 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386
All errors (new ones prefixed by >>):
In file included from drivers/acpi/property.c:16:0: drivers/acpi/property.c: In function 'acpi_get_next_subnode': >> drivers/acpi/property.c:840:27: error: 'dev' undeclared (first use in this function) adev = ACPI_COMPANION(dev); ^ include/linux/acpi.h:54:51: note: in definition of macro 'ACPI_COMPANION' #define ACPI_COMPANION(dev) to_acpi_device_node((dev)->fwnode) ^~~ drivers/acpi/property.c:840:27: note: each undeclared identifier is reported only once for each function it appears in adev = ACPI_COMPANION(dev); ^ include/linux/acpi.h:54:51: note: in definition of macro 'ACPI_COMPANION' #define ACPI_COMPANION(dev) to_acpi_device_node((dev)->fwnode) ^~~
vim +/dev +840 drivers/acpi/property.c
504a3374 Rafael J. Wysocki 2015-08-27 834 504a3374 Rafael J. Wysocki 2015-08-27 835 if (child) { 504a3374 Rafael J. Wysocki 2015-08-27 836 adev = to_acpi_device_node(child); 504a3374 Rafael J. Wysocki 2015-08-27 837 next = adev->node.next; 504a3374 Rafael J. Wysocki 2015-08-27 838 if (next == head) { 504a3374 Rafael J. Wysocki 2015-08-27 839 child = NULL; bf4703fd Irina Tirdea 2016-03-13 @840 adev = ACPI_COMPANION(dev); 504a3374 Rafael J. Wysocki 2015-08-27 841 goto nondev; 504a3374 Rafael J. Wysocki 2015-08-27 842 } 504a3374 Rafael J. Wysocki 2015-08-27 843 adev = list_entry(next, struct acpi_device, node);
:::::: The code at line 840 was first introduced by commit :::::: bf4703fdd166fffd5b2e4c42d2ebbf708b94748e ACPI / property: fix data node parsing in acpi_get_next_subnode()
:::::: TO: Irina Tirdea <irina.tirdea@intel.com> :::::: CC: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation [unhandled content-type:application/gzip] | |