Re: [PATCH v3 7/8] acpi: add support for configfs

From: kbuild test robot
Date: Tue Jun 14 2016 - 18:45:16 EST


Hi,

[auto build test ERROR on pm/linux-next]
[also build test ERROR on v4.7-rc3]
[cannot apply to next-20160614]
[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/Octavian-Purdila/ACPI-overlays/20160614-202312
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

Note: the linux-review/Octavian-Purdila/ACPI-overlays/20160614-202312 HEAD 042f716a165ffa274684c787377acddfc1f34e3f builds fine.
It only hurts bisectibility.

All errors (new ones prefixed by >>):

drivers/acpi/configfs.c: In function 'acpi_configfs_init':
>> drivers/acpi/configfs.c:19:31: error: 'acpi_configfs' undeclared (first use in this function)
struct config_group *root = &acpi_configfs.su_group;
^~~~~~~~~~~~~
drivers/acpi/configfs.c:19:31: note: each undeclared identifier is reported only once for each function it appears in
drivers/acpi/configfs.c: In function 'acpi_configfs_exit':
drivers/acpi/configfs.c:33:33: error: 'acpi_configfs' undeclared (first use in this function)
configfs_unregister_subsystem(&acpi_configfs);
^~~~~~~~~~~~~

vim +/acpi_configfs +19 drivers/acpi/configfs.c

13 #include <linux/configfs.h>
14 #include <linux/acpi.h>
15
16 static int __init acpi_configfs_init(void)
17 {
18 int ret;
> 19 struct config_group *root = &acpi_configfs.su_group;
20
21 config_group_init(root);
22

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data