[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201806200508.hgQ8skku%fengguang.wu@intel.com>
Date: Wed, 20 Jun 2018 07:06:49 +0800
From: kbuild test robot <lkp@...el.com>
To: Randy Dunlap <rdunlap@...radead.org>
Cc: kbuild-all@...org, LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [PATCH treewide] headers: separate mod_devicetable.h from
platform_device.h
Hi Randy,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v4.18-rc1 next-20180619]
[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/Randy-Dunlap/headers-separate-mod_devicetable-h-from-platform_device-h/20180620-030041
config: arm-multi_v5_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.2.0 make.cross ARCH=arm
All errors (new ones prefixed by >>):
>> drivers/pinctrl/pinctrl-u300.c:1083:34: error: array type has incomplete element type 'struct of_device_id'
static const struct of_device_id u300_pinctrl_match[] = {
^~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/pinctrl-u300.c:1084:4: error: field name not in record or union initializer
{ .compatible = "stericsson,pinctrl-u300" },
^
drivers/pinctrl/pinctrl-u300.c:1084:4: note: (near initialization for 'u300_pinctrl_match')
drivers/pinctrl/pinctrl-u300.c:1083:34: warning: 'u300_pinctrl_match' defined but not used [-Wunused-variable]
static const struct of_device_id u300_pinctrl_match[] = {
^~~~~~~~~~~~~~~~~~
vim +1083 drivers/pinctrl/pinctrl-u300.c
98da3529 drivers/pinctrl/pinmux-u300.c Linus Walleij 2011-05-02 1082
21a035db drivers/pinctrl/pinctrl-u300.c Linus Walleij 2013-04-08 @1083 static const struct of_device_id u300_pinctrl_match[] = {
21a035db drivers/pinctrl/pinctrl-u300.c Linus Walleij 2013-04-08 @1084 { .compatible = "stericsson,pinctrl-u300" },
21a035db drivers/pinctrl/pinctrl-u300.c Linus Walleij 2013-04-08 1085 {},
21a035db drivers/pinctrl/pinctrl-u300.c Linus Walleij 2013-04-08 1086 };
21a035db drivers/pinctrl/pinctrl-u300.c Linus Walleij 2013-04-08 1087
21a035db drivers/pinctrl/pinctrl-u300.c Linus Walleij 2013-04-08 1088
:::::: The code at line 1083 was first introduced by commit
:::::: 21a035db897975a5195dfb1525433637f30aeebf pinctrl: u300 device tree support
:::::: TO: Linus Walleij <linus.walleij@...aro.org>
:::::: CC: Linus Walleij <linus.walleij@...aro.org>
---
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/gzip" (29758 bytes)
Powered by blists - more mailing lists