[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201807042347.hfDcKxmG%fengguang.wu@intel.com>
Date: Thu, 5 Jul 2018 01:00:30 +0800
From: kbuild test robot <lkp@...el.com>
To: Baoquan He <bhe@...hat.com>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org,
akpm@...ux-foundation.org, robh+dt@...nel.org,
dan.j.williams@...el.com, nicolas.pitre@...aro.org,
josh@...htriplett.org, fengguang.wu@...el.com, bp@...e.de,
andy.shevchenko@...il.com, brijesh.singh@....com,
devicetree@...r.kernel.org, airlied@...ux.ie,
linux-pci@...r.kernel.org, richard.weiyang@...il.com,
keith.busch@...el.com, jcmvbkbc@...il.com,
baiyaowei@...s.chinamobile.com, frowand.list@...il.com,
lorenzo.pieralisi@....com, sthemmin@...rosoft.com,
Baoquan He <bhe@...hat.com>, linux-nvdimm@...ts.01.org,
patrik.r.jakobsson@...il.com, linux-input@...r.kernel.org,
gustavo@...ovan.org, dyoung@...hat.com, vgoyal@...hat.com,
thomas.lendacky@....com, haiyangz@...rosoft.com,
maarten.lankhorst@...ux.intel.com, jglisse@...hat.com,
seanpaul@...omium.org, bhelgaas@...gle.com, tglx@...utronix.de,
yinghai@...nel.org, jonathan.derrick@...el.com, chris@...kel.net,
monstr@...str.eu, linux-parisc@...r.kernel.org,
gregkh@...uxfoundation.org, dmitry.torokhov@...il.com,
kexec@...ts.infradead.org, ebiederm@...ssion.com,
devel@...uxdriverproject.org, linuxppc-dev@...ts.ozlabs.org,
davem@...emloft.net
Subject: Re: [PATCH v6 2/4] resource: Use list_head to link sibling resource
Hi Baoquan,
I love your patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v4.18-rc3 next-20180704]
[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/Baoquan-He/resource-Use-list_head-to-link-sibling-resource/20180704-121402
config: mips-rb532_defconfig (attached as .config)
compiler: mipsel-linux-gnu-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=mips
All error/warnings (new ones prefixed by >>):
>> arch/mips/pci/pci-rc32434.c:57:11: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.child = &rc32434_res_pci_mem2
^
arch/mips/pci/pci-rc32434.c:57:11: note: (near initialization for 'rc32434_res_pci_mem1.child.next')
>> arch/mips/pci/pci-rc32434.c:51:47: warning: missing braces around initializer [-Wmissing-braces]
static struct resource rc32434_res_pci_mem1 = {
^
arch/mips/pci/pci-rc32434.c:60:47: warning: missing braces around initializer [-Wmissing-braces]
static struct resource rc32434_res_pci_mem2 = {
^
cc1: some warnings being treated as errors
vim +57 arch/mips/pci/pci-rc32434.c
73b4390f Ralf Baechle 2008-07-16 50
73b4390f Ralf Baechle 2008-07-16 @51 static struct resource rc32434_res_pci_mem1 = {
73b4390f Ralf Baechle 2008-07-16 52 .name = "PCI MEM1",
73b4390f Ralf Baechle 2008-07-16 53 .start = 0x50000000,
73b4390f Ralf Baechle 2008-07-16 54 .end = 0x5FFFFFFF,
73b4390f Ralf Baechle 2008-07-16 55 .flags = IORESOURCE_MEM,
73b4390f Ralf Baechle 2008-07-16 56 .sibling = NULL,
73b4390f Ralf Baechle 2008-07-16 @57 .child = &rc32434_res_pci_mem2
73b4390f Ralf Baechle 2008-07-16 58 };
73b4390f Ralf Baechle 2008-07-16 59
:::::: The code at line 57 was first introduced by commit
:::::: 73b4390fb23456964201abda79f1210fe337d01a [MIPS] Routerboard 532: Support for base system
:::::: TO: Ralf Baechle <ralf@...ux-mips.org>
:::::: CC: Ralf Baechle <ralf@...ux-mips.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" (14130 bytes)
Powered by blists - more mailing lists