The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Tan Jui Nee <jui.nee.tan@intel.com>
Cc: kbuild-all@01.org, mika.westerberg@linux.intel.com,
	heikki.krogerus@linux.intel.com,
	andriy.shevchenko@linux.intel.com, tglx@linutronix.de,
	mingo@redhat.com, hpa@zytor.com, x86@kernel.org,
	ptyser@xes-inc.com, lee.jones@linaro.org,
	linus.walleij@linaro.org, linux-gpio@vger.kernel.org,
	linux-kernel@vger.kernel.org, jui.nee.tan@intel.com,
	jonathan.yong@intel.com, ong.hock.yu@intel.com,
	weifeng.voon@intel.com, wan.ahmad.zainie.wan.mohamad@intel.com
Subject: Re: [PATCH v4 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake GPIO pinctrl in non-ACPI system
Date: Tue, 21 Jun 2016 13:51:59 +0800	[thread overview]
Message-ID: <201606211339.xXlRaFrG%fengguang.wu@intel.com> (raw)
In-Reply-To: <1466485831-20416-4-git-send-email-jui.nee.tan@intel.com>

[-- Attachment #1: Type: text/plain, Size: 3333 bytes --]

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 #2: .config.gz --]
[-- Type: application/octet-stream, Size: 27943 bytes --]

  reply	other threads:[~2016-06-21  5:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-21  5:10 [PATCH v4 0/3] pinctrl/broxton: enable platform device in the absent of ACPI enumeration Tan Jui Nee
2016-06-21  5:10 ` [PATCH v4 1/3] " Tan Jui Nee
2016-06-23  8:42   ` Linus Walleij
2016-06-21  5:10 ` [PATCH v4 2/3] x86/platform/p2sb: New Primary to Sideband bridge support driver for Intel SOC's Tan Jui Nee
2016-06-23  8:45   ` Linus Walleij
2016-06-21  5:10 ` [PATCH v4 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake GPIO pinctrl in non-ACPI system Tan Jui Nee
2016-06-21  5:51   ` kbuild test robot [this message]
2016-06-21  5:54   ` kbuild test robot
2016-06-23  8:46   ` Linus Walleij

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201606211339.xXlRaFrG%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=heikki.krogerus@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=jonathan.yong@intel.com \
    --cc=jui.nee.tan@intel.com \
    --cc=kbuild-all@01.org \
    --cc=lee.jones@linaro.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mika.westerberg@linux.intel.com \
    --cc=mingo@redhat.com \
    --cc=ong.hock.yu@intel.com \
    --cc=ptyser@xes-inc.com \
    --cc=tglx@linutronix.de \
    --cc=wan.ahmad.zainie.wan.mohamad@intel.com \
    --cc=weifeng.voon@intel.com \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox