Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1427338

Re: [PATCH v4 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake GPIO pinctrl in non-ACPI system

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v4 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake GPIO pinctrl in non-ACPI system
Date 2016-06-21 08:10 +0200
Message-ID <rMn2N-20i-1@gated-at.bofh.it> (permalink)
References <rMmgq-1sA-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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-lkp (attached as .config)
compiler: gcc-4.9 (Debian 4.9.3-14) 4.9.3
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (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:1169:5: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'struct mfd_cell *' [-Wformat=]
   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: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 +175 drivers/mfd/lpc_ich.c

   169	static struct mfd_cell apl_gpio_devices[] = {
   170		{
   171			.name = "apl-pinctrl",
   172			.id = 0,
   173			.num_resources = ARRAY_SIZE(apl_gpio_io_res),
   174			.resources = apl_gpio_io_res,
 > 175			.pdata_size = sizeof(apl_pinctrl_pdata),
   176			.platform_data = &apl_pinctrl_pdata,
   177			.ignore_resource_conflicts = true,
   178		},
   179		{
   180			.name = "apl-pinctrl",
   181			.id = 1,
   182			.num_resources = ARRAY_SIZE(apl_gpio_io_res),
   183			.resources = apl_gpio_io_res,
   184			.pdata_size = sizeof(apl_pinctrl_pdata),
   185			.platform_data = &apl_pinctrl_pdata,
   186			.ignore_resource_conflicts = true,
   187		},
   188		{
   189			.name = "apl-pinctrl",
   190			.id = 2,
   191			.num_resources = ARRAY_SIZE(apl_gpio_io_res),
   192			.resources = apl_gpio_io_res,
 > 193			.pdata_size = sizeof(apl_pinctrl_pdata),
   194			.platform_data = &apl_pinctrl_pdata,
   195			.ignore_resource_conflicts = true,
   196		},
   197		{
   198			.name = "apl-pinctrl",
   199			.id = 3,
   200			.num_resources = ARRAY_SIZE(apl_gpio_io_res),
   201			.resources = apl_gpio_io_res,
 > 202			.pdata_size = sizeof(apl_pinctrl_pdata),
   203			.platform_data = &apl_pinctrl_pdata,
   204			.ignore_resource_conflicts = true,
   205		},

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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 0/3] pinctrl/broxton: enable platform device in the absent of ACPI enumeration Tan Jui Nee <jui.nee.tan@intel.com> - 2016-06-21 07:20 +0200
  [PATCH v4 1/3] pinctrl/broxton: enable platform device in the absent of ACPI enumeration Tan Jui Nee <jui.nee.tan@intel.com> - 2016-06-21 07:20 +0200
    Re: [PATCH v4 1/3] pinctrl/broxton: enable platform device in the  absent of ACPI enumeration Linus Walleij <linus.walleij@linaro.org> - 2016-06-23 10:50 +0200
  [PATCH v4 2/3] x86/platform/p2sb: New Primary to Sideband bridge support driver for Intel SOC's Tan Jui Nee <jui.nee.tan@intel.com> - 2016-06-21 07:20 +0200
    Re: [PATCH v4 2/3] x86/platform/p2sb: New Primary to Sideband bridge  support driver for Intel SOC's Linus Walleij <linus.walleij@linaro.org> - 2016-06-23 10:50 +0200
  [PATCH v4 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake GPIO pinctrl in non-ACPI system Tan Jui Nee <jui.nee.tan@intel.com> - 2016-06-21 07:20 +0200
    Re: [PATCH v4 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake  GPIO pinctrl in non-ACPI system kbuild test robot <lkp@intel.com> - 2016-06-21 08:10 +0200
    Re: [PATCH v4 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake  GPIO pinctrl in non-ACPI system Linus Walleij <linus.walleij@linaro.org> - 2016-06-23 10:50 +0200

csiph-web