From: kbuild test robot <lkp@intel.com>
To: Holger Dengler <dengler@linutronix.de>
Cc: kbuild-all@01.org, Lee Jones <lee.jones@linaro.org>,
Arnd Bergmann <arnd@arndb.de>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Vinod Koul <vinod.koul@intel.com>,
linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org,
Thomas Gleixner <tglx@linutronix.de>,
Sebastian Siewior <bigeasy@linutronix.de>,
Juergen Bubeck <bubeck@xkrug.com>,
Peter Mahler <mahler@xkrug.com>,
Holger Dengler <dengler@linutronix.de>,
Benedikt Spranger <b.spranger@linutronix.de>
Subject: Re: [PATCH 05/12] mfd: flexcard: add DMA interrupts
Date: Wed, 14 Dec 2016 11:08:16 +0800 [thread overview]
Message-ID: <201612141144.LWSsU40Y%fengguang.wu@intel.com> (raw)
In-Reply-To: <1481674313-30378-6-git-send-email-dengler@linutronix.de>
[-- Attachment #1: Type: text/plain, Size: 10417 bytes --]
Hi Holger,
[auto build test ERROR on char-misc/char-misc-testing]
[also build test ERROR on v4.9]
[cannot apply to ljones-mfd/for-mfd-next next-20161213]
[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/Holger-Dengler/Eberspaecher-Flexcard-PMC-II-base-support/20161214-082350
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm
All errors (new ones prefixed by >>):
drivers/mfd/flexcard_irq.c: In function 'flexcard_demux':
drivers/mfd/flexcard_irq.c:135:3: error: implicit declaration of function 'generic_handle_irq' [-Werror=implicit-function-declaration]
generic_handle_irq(cur);
^~~~~~~~~~~~~~~~~~
drivers/mfd/flexcard_irq.c: In function 'flexcard_irq_ack':
drivers/mfd/flexcard_irq.c:143:33: error: implicit declaration of function 'irq_data_get_irq_chip_data' [-Werror=implicit-function-declaration]
struct flexcard_device *priv = irq_data_get_irq_chip_data(d);
^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mfd/flexcard_irq.c:143:33: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
drivers/mfd/flexcard_irq.c:144:51: error: dereferencing pointer to incomplete type 'struct irq_data'
const struct fc_irq_tab *tp = &flexcard_irq_tab[d->hwirq];
^~
drivers/mfd/flexcard_irq.c: In function 'flexcard_irq_mask':
drivers/mfd/flexcard_irq.c:152:33: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
struct flexcard_device *priv = irq_data_get_irq_chip_data(d);
^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mfd/flexcard_irq.c: In function 'flexcard_irq_unmask':
drivers/mfd/flexcard_irq.c:165:33: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
struct flexcard_device *priv = irq_data_get_irq_chip_data(d);
^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mfd/flexcard_irq.c: At top level:
drivers/mfd/flexcard_irq.c:199:15: error: variable 'flexcard_irq_chip' has initializer but incomplete type
static struct irq_chip flexcard_irq_chip = {
^~~~~~~~
drivers/mfd/flexcard_irq.c:200:2: error: unknown field 'name' specified in initializer
.name = "flexcard_irq",
^
drivers/mfd/flexcard_irq.c:200:11: warning: excess elements in struct initializer
.name = "flexcard_irq",
^~~~~~~~~~~~~~
drivers/mfd/flexcard_irq.c:200:11: note: (near initialization for 'flexcard_irq_chip')
drivers/mfd/flexcard_irq.c:201:2: error: unknown field 'irq_ack' specified in initializer
.irq_ack = flexcard_irq_ack,
^
drivers/mfd/flexcard_irq.c:201:13: warning: excess elements in struct initializer
.irq_ack = flexcard_irq_ack,
^~~~~~~~~~~~~~~~
drivers/mfd/flexcard_irq.c:201:13: note: (near initialization for 'flexcard_irq_chip')
drivers/mfd/flexcard_irq.c:202:2: error: unknown field 'irq_mask' specified in initializer
.irq_mask = flexcard_irq_mask,
^
drivers/mfd/flexcard_irq.c:202:14: warning: excess elements in struct initializer
.irq_mask = flexcard_irq_mask,
^~~~~~~~~~~~~~~~~
drivers/mfd/flexcard_irq.c:202:14: note: (near initialization for 'flexcard_irq_chip')
drivers/mfd/flexcard_irq.c:203:2: error: unknown field 'irq_unmask' specified in initializer
.irq_unmask = flexcard_irq_unmask,
^
drivers/mfd/flexcard_irq.c:203:16: warning: excess elements in struct initializer
.irq_unmask = flexcard_irq_unmask,
^~~~~~~~~~~~~~~~~~~
drivers/mfd/flexcard_irq.c:203:16: note: (near initialization for 'flexcard_irq_chip')
drivers/mfd/flexcard_irq.c: In function 'flexcard_irq_domain_map':
drivers/mfd/flexcard_irq.c:211:2: error: implicit declaration of function 'irq_set_chip_and_handler_name' [-Werror=implicit-function-declaration]
irq_set_chip_and_handler_name(irq, &flexcard_irq_chip,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mfd/flexcard_irq.c:212:11: error: 'handle_level_irq' undeclared (first use in this function)
handle_level_irq, "flexcard");
^~~~~~~~~~~~~~~~
drivers/mfd/flexcard_irq.c:212:11: note: each undeclared identifier is reported only once for each function it appears in
drivers/mfd/flexcard_irq.c:213:2: error: implicit declaration of function 'irq_set_chip_data' [-Werror=implicit-function-declaration]
irq_set_chip_data(irq, priv);
^~~~~~~~~~~~~~~~~
drivers/mfd/flexcard_irq.c:214:2: error: implicit declaration of function 'irq_modify_status' [-Werror=implicit-function-declaration]
irq_modify_status(irq, IRQ_NOREQUEST | IRQ_NOAUTOEN, IRQ_NOPROBE);
^~~~~~~~~~~~~~~~~
drivers/mfd/flexcard_irq.c:214:25: error: 'IRQ_NOREQUEST' undeclared (first use in this function)
irq_modify_status(irq, IRQ_NOREQUEST | IRQ_NOAUTOEN, IRQ_NOPROBE);
^~~~~~~~~~~~~
drivers/mfd/flexcard_irq.c:214:41: error: 'IRQ_NOAUTOEN' undeclared (first use in this function)
irq_modify_status(irq, IRQ_NOREQUEST | IRQ_NOAUTOEN, IRQ_NOPROBE);
^~~~~~~~~~~~
drivers/mfd/flexcard_irq.c:214:55: error: 'IRQ_NOPROBE' undeclared (first use in this function)
irq_modify_status(irq, IRQ_NOREQUEST | IRQ_NOAUTOEN, IRQ_NOPROBE);
^~~~~~~~~~~
drivers/mfd/flexcard_irq.c: At top level:
>> drivers/mfd/flexcard_irq.c:223:15: error: variable 'flexcard_dma_irq_chip' has initializer but incomplete type
static struct irq_chip flexcard_dma_irq_chip = {
^~~~~~~~
drivers/mfd/flexcard_irq.c:224:2: error: unknown field 'name' specified in initializer
.name = "flexcard_dma_irq",
^
drivers/mfd/flexcard_irq.c:224:11: warning: excess elements in struct initializer
.name = "flexcard_dma_irq",
^~~~~~~~~~~~~~~~~~
drivers/mfd/flexcard_irq.c:224:11: note: (near initialization for 'flexcard_dma_irq_chip')
drivers/mfd/flexcard_irq.c:225:2: error: unknown field 'irq_ack' specified in initializer
.irq_ack = flexcard_irq_ack,
^
drivers/mfd/flexcard_irq.c:225:13: warning: excess elements in struct initializer
.irq_ack = flexcard_irq_ack,
^~~~~~~~~~~~~~~~
drivers/mfd/flexcard_irq.c:225:13: note: (near initialization for 'flexcard_dma_irq_chip')
drivers/mfd/flexcard_irq.c:226:2: error: unknown field 'irq_mask' specified in initializer
.irq_mask = flexcard_irq_mask,
^
drivers/mfd/flexcard_irq.c:226:14: warning: excess elements in struct initializer
.irq_mask = flexcard_irq_mask,
^~~~~~~~~~~~~~~~~
drivers/mfd/flexcard_irq.c:226:14: note: (near initialization for 'flexcard_dma_irq_chip')
drivers/mfd/flexcard_irq.c:227:2: error: unknown field 'irq_unmask' specified in initializer
.irq_unmask = flexcard_irq_unmask,
^
drivers/mfd/flexcard_irq.c:227:16: warning: excess elements in struct initializer
.irq_unmask = flexcard_irq_unmask,
^~~~~~~~~~~~~~~~~~~
drivers/mfd/flexcard_irq.c:227:16: note: (near initialization for 'flexcard_dma_irq_chip')
drivers/mfd/flexcard_irq.c: In function 'flexcard_dma_irq_domain_map':
drivers/mfd/flexcard_irq.c:236:11: error: 'handle_level_irq' undeclared (first use in this function)
handle_level_irq, "flexcard-dma");
^~~~~~~~~~~~~~~~
drivers/mfd/flexcard_irq.c:238:25: error: 'IRQ_NOREQUEST' undeclared (first use in this function)
irq_modify_status(irq, IRQ_NOREQUEST | IRQ_NOAUTOEN, IRQ_NOPROBE);
^~~~~~~~~~~~~
drivers/mfd/flexcard_irq.c:238:41: error: 'IRQ_NOAUTOEN' undeclared (first use in this function)
irq_modify_status(irq, IRQ_NOREQUEST | IRQ_NOAUTOEN, IRQ_NOPROBE);
^~~~~~~~~~~~
drivers/mfd/flexcard_irq.c:238:55: error: 'IRQ_NOPROBE' undeclared (first use in this function)
irq_modify_status(irq, IRQ_NOREQUEST | IRQ_NOAUTOEN, IRQ_NOPROBE);
^~~~~~~~~~~
drivers/mfd/flexcard_irq.c: At top level:
drivers/mfd/flexcard_irq.c:199:24: error: storage size of 'flexcard_irq_chip' isn't known
static struct irq_chip flexcard_irq_chip = {
^~~~~~~~~~~~~~~~~
>> drivers/mfd/flexcard_irq.c:223:24: error: storage size of 'flexcard_dma_irq_chip' isn't known
static struct irq_chip flexcard_dma_irq_chip = {
^~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/flexcard_dma_irq_chip +223 drivers/mfd/flexcard_irq.c
208 {
209 struct flexcard_device *priv = d->host_data;
210
211 irq_set_chip_and_handler_name(irq, &flexcard_irq_chip,
212 handle_level_irq, "flexcard");
213 irq_set_chip_data(irq, priv);
> 214 irq_modify_status(irq, IRQ_NOREQUEST | IRQ_NOAUTOEN, IRQ_NOPROBE);
215
216 return 0;
217 }
218
219 static const struct irq_domain_ops flexcard_irq_domain_ops = {
220 .map = flexcard_irq_domain_map,
221 };
222
> 223 static struct irq_chip flexcard_dma_irq_chip = {
224 .name = "flexcard_dma_irq",
225 .irq_ack = flexcard_irq_ack,
226 .irq_mask = flexcard_irq_mask,
227 .irq_unmask = flexcard_irq_unmask,
228 };
229
230 static int flexcard_dma_irq_domain_map(struct irq_domain *d, unsigned int irq,
231 irq_hw_number_t hw)
232 {
233 struct flexcard_device *priv = d->host_data;
234
235 irq_set_chip_and_handler_name(irq, &flexcard_dma_irq_chip,
236 handle_level_irq, "flexcard-dma");
237 irq_set_chip_data(irq, priv);
> 238 irq_modify_status(irq, IRQ_NOREQUEST | IRQ_NOAUTOEN, IRQ_NOPROBE);
239
240 return 0;
241 }
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 59495 bytes --]
next prev parent reply other threads:[~2016-12-14 3:09 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-14 0:11 [PATCH 00/12] Eberspaecher Flexcard PMC II base support Holger Dengler
2016-12-14 0:11 ` [PATCH 01/12] mfd: Eberspaecher Flexcard PMC II Carrier Board support Holger Dengler
2016-12-14 8:38 ` Arnd Bergmann
2017-01-05 13:52 ` Holger Dengler
2016-12-14 0:11 ` [PATCH 02/12] mfd: flexcard: add flexcard misc mfd-cell Holger Dengler
2016-12-14 0:11 ` [PATCH 03/12] mfd: flexcard: add posix clock mfd-cell Holger Dengler
2016-12-14 0:11 ` [PATCH 04/12] mfd: flexcard: add interrupt support Holger Dengler
2016-12-14 2:47 ` kbuild test robot
2016-12-14 3:37 ` kbuild test robot
2016-12-14 0:11 ` [PATCH 05/12] mfd: flexcard: add DMA interrupts Holger Dengler
2016-12-14 3:08 ` kbuild test robot [this message]
2016-12-14 0:11 ` [PATCH 06/12] mfd: flexcard: add DMA device Holger Dengler
2016-12-14 0:11 ` [PATCH 07/12] mfd: flexcard: add UIO IRQ devices Holger Dengler
2016-12-14 0:11 ` [PATCH 08/12] misc: Flexcard misc device support Holger Dengler
2016-12-14 8:42 ` Arnd Bergmann
2016-12-14 9:28 ` Holger Dengler
2017-01-10 16:59 ` Greg Kroah-Hartman
2016-12-14 0:11 ` [PATCH 09/12] misc: flexcard: add device attributes Holger Dengler
2016-12-14 1:33 ` kbuild test robot
2017-01-10 16:58 ` Greg Kroah-Hartman
2016-12-14 0:11 ` [PATCH 10/12] misc: Flexcard basic timestamp counter support Holger Dengler
2016-12-14 3:28 ` kbuild test robot
2016-12-14 8:46 ` Arnd Bergmann
2016-12-14 9:16 ` Thomas Gleixner
2016-12-14 0:11 ` [PATCH 11/12] misc: flexcard: Support timestamp trigger selection Holger Dengler
2016-12-14 0:11 ` [PATCH 12/12] dma: Flexcard DMA ringbuffer demux driver Holger Dengler
2016-12-14 1:54 ` kbuild test robot
2016-12-15 4:38 ` Vinod Koul
2016-12-19 10:54 ` Holger Dengler
2017-01-04 9:43 ` [PATCH 00/12] Eberspaecher Flexcard PMC II base support Lee Jones
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=201612141144.LWSsU40Y%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=arnd@arndb.de \
--cc=b.spranger@linutronix.de \
--cc=bigeasy@linutronix.de \
--cc=bubeck@xkrug.com \
--cc=dengler@linutronix.de \
--cc=dmaengine@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=kbuild-all@01.org \
--cc=lee.jones@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mahler@xkrug.com \
--cc=tglx@linutronix.de \
--cc=vinod.koul@intel.com \
/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
all inboxes | Powered by JetHome®