[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201511241832.3nOM8ymb%fengguang.wu@intel.com>
Date: Tue, 24 Nov 2015 18:44:53 +0800
From: kbuild test robot <lkp@...el.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: kbuild-all@...org, "Rafael J. Wysocki" <rjw@...ysocki.net>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jarkko Nikula <jarkko.nikula@...ux.intel.com>,
linux-i2c@...r.kernel.org, linux-acpi@...r.kernel.org,
linux-kernel@...r.kernel.org, Lee Jones <lee.jones@...aro.org>,
Mika Westerberg <mika.westerberg@...ux.intel.com>,
Kevin Fenzi <kevin@...ye.com>, Arnd Bergmann <arnd@...db.de>,
Wolfram Sang <wsa@...-dreams.de>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Subject: Re: [PATCH v1 11/13] mfd: intel-lpss: Pass HSUART configuration via
properties
Hi Mika,
[auto build test ERROR on v4.4-rc2]
[also build test ERROR on next-20151124]
[cannot apply to ljones-mfd/for-mfd-next]
url: https://github.com/0day-ci/linux/commits/Andy-Shevchenko/device-property-always-check-for-fwnode-type/20151124-183221
config: x86_64-randconfig-x019-11241713 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All error/warnings (new ones prefixed by >>):
>> drivers/mfd/intel-lpss-pci.c:68:30: error: array type has incomplete element type 'struct property_entry'
static struct property_entry uart_properties[] = {
^
>> drivers/mfd/intel-lpss-pci.c:69:2: error: implicit declaration of function 'PROPERTY_ENTRY_U32' [-Werror=implicit-function-declaration]
PROPERTY_ENTRY_U32("reg-io-width", 4),
^
>> drivers/mfd/intel-lpss-pci.c:71:2: error: implicit declaration of function 'PROPERTY_ENTRY_U8' [-Werror=implicit-function-declaration]
PROPERTY_ENTRY_U8("snps,uart-16550-compatible", 1),
^
>> drivers/mfd/intel-lpss-pci.c:75:15: error: variable 'uart_pset' has initializer but incomplete type
static struct property_set uart_pset = {
^
>> drivers/mfd/intel-lpss-pci.c:76:2: error: unknown field 'properties' specified in initializer
.properties = uart_properties,
^
>> drivers/mfd/intel-lpss-pci.c:76:16: warning: excess elements in struct initializer
.properties = uart_properties,
^
drivers/mfd/intel-lpss-pci.c:76:16: note: (near initialization for 'uart_pset')
>> drivers/mfd/intel-lpss-pci.c:68:30: warning: 'uart_properties' defined but not used [-Wunused-variable]
static struct property_entry uart_properties[] = {
^
cc1: some warnings being treated as errors
vim +68 drivers/mfd/intel-lpss-pci.c
62 static INTEL_LPSS_PM_OPS(intel_lpss_pci_pm_ops);
63
64 static const struct intel_lpss_platform_info spt_info = {
65 .clk_rate = 120000000,
66 };
67
> 68 static struct property_entry uart_properties[] = {
> 69 PROPERTY_ENTRY_U32("reg-io-width", 4),
70 PROPERTY_ENTRY_U32("reg-shift", 2),
> 71 PROPERTY_ENTRY_U8("snps,uart-16550-compatible", 1),
72 { },
73 };
74
> 75 static struct property_set uart_pset = {
> 76 .properties = uart_properties,
77 };
78
79 static const struct intel_lpss_platform_info spt_uart_info = {
---
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" (22620 bytes)
Powered by blists - more mailing lists