lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 21 Jun 2016 13:54:46 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Tan Jui Nee <jui.nee.tan@...el.com>
Cc:	kbuild-all@...org, mika.westerberg@...ux.intel.com,
	heikki.krogerus@...ux.intel.com, andriy.shevchenko@...ux.intel.com,
	tglx@...utronix.de, mingo@...hat.com, hpa@...or.com,
	x86@...nel.org, ptyser@...-inc.com, lee.jones@...aro.org,
	linus.walleij@...aro.org, linux-gpio@...r.kernel.org,
	linux-kernel@...r.kernel.org, jui.nee.tan@...el.com,
	jonathan.yong@...el.com, ong.hock.yu@...el.com,
	weifeng.voon@...el.com, wan.ahmad.zainie.wan.mohamad@...el.com
Subject: Re: [PATCH v4 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake
 GPIO pinctrl in non-ACPI system

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

Download attachment ".config.gz" of type "application/octet-stream" (22908 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ