Hi, [auto build test ERROR on tip/x86/core] [also build test ERROR on v4.7-rc4 next-20160620] [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/Tan-Jui-Nee/pinctrl-broxton-enable-platform-device-in-the-absent-of-ACPI-enumeration/20160621-132027 config: x86_64-randconfig-i0-201625 (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 All errors (new ones prefixed by >>): drivers/mfd/lpc_ich.c:175:23: error: invalid application of 'sizeof' to incomplete type 'struct pinctrl_pin_desc' .pdata_size = sizeof(apl_pinctrl_pdata), ^ drivers/mfd/lpc_ich.c:184:23: error: invalid application of 'sizeof' to incomplete type 'struct pinctrl_pin_desc' .pdata_size = sizeof(apl_pinctrl_pdata), ^ drivers/mfd/lpc_ich.c:193:23: error: invalid application of 'sizeof' to incomplete type 'struct pinctrl_pin_desc' .pdata_size = sizeof(apl_pinctrl_pdata), ^ drivers/mfd/lpc_ich.c:202:23: error: invalid application of 'sizeof' to incomplete type 'struct pinctrl_pin_desc' .pdata_size = sizeof(apl_pinctrl_pdata), ^ drivers/mfd/lpc_ich.c: In function 'lpc_ich_misc': drivers/mfd/lpc_ich.c:1154:3: error: invalid use of undefined type 'struct pinctrl_pin_desc' apl_pinctrl_pdata.name = kasprintf(GFP_KERNEL, "%u", ^~~~~~~~~~~~~~~~~ drivers/mfd/lpc_ich.c:1154:3: warning: statement with no effect [-Wunused-value] drivers/mfd/lpc_ich.c:1158:2: error: invalid use of undefined type 'struct pinctrl_pin_desc' if (apl_pinctrl_pdata.name) ^~ drivers/mfd/lpc_ich.c:1169:5: error: invalid use of undefined type 'struct pinctrl_pin_desc' apl_pinctrl_pdata.name, ret); ^~~~~~~~~~~~~~~~~ drivers/mfd/lpc_ich.c:1168:37: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'struct mfd_cell *' [-Wformat=] "Failed to add Apollo Lake GPIO %s: %d\n", ^ drivers/mfd/lpc_ich.c:1171:2: error: invalid use of undefined type 'struct pinctrl_pin_desc' kfree(apl_pinctrl_pdata.name); ^~~~~ drivers/mfd/lpc_ich.c: At top level: >> drivers/mfd/lpc_ich.c:167:32: error: storage size of 'apl_pinctrl_pdata' isn't known static struct pinctrl_pin_desc apl_pinctrl_pdata; ^~~~~~~~~~~~~~~~~ drivers/mfd/lpc_ich.c:1131:12: warning: 'lpc_ich_misc' defined but not used [-Wunused-function] static int lpc_ich_misc(struct pci_dev *dev, enum lpc_chipsets chipset) ^~~~~~~~~~~~ vim +167 drivers/mfd/lpc_ich.c 161 APL_GPIO_WEST_NPIN * SZ_8, "apl_pinctrl_w"), 162 DEFINE_RES_MEM_NAMED(APL_GPIO_SOUTHWEST_OFFSET, 163 APL_GPIO_SOUTHWEST_NPIN * SZ_8, "apl_pinctrl_sw"), 164 DEFINE_RES_IRQ(APL_GPIO_IRQ), 165 }; 166 > 167 static struct pinctrl_pin_desc apl_pinctrl_pdata; 168 169 static struct mfd_cell apl_gpio_devices[] = { 170 { --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data