Re: [PATCH 04/12] mfd: flexcard: add interrupt support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: tile-allyesconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 4.6.2
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=tile 

All errors (new ones prefixed by >>):

   drivers/mfd/flexcard_irq.c: In function 'flexcard_demux':
   drivers/mfd/flexcard_irq.c:111:3: error: implicit declaration of function 'generic_handle_irq'
   drivers/mfd/flexcard_irq.c: In function 'flexcard_irq_ack':
   drivers/mfd/flexcard_irq.c:119:9: error: implicit declaration of function 'irq_data_get_irq_chip_data'
   drivers/mfd/flexcard_irq.c:119:33: warning: initialization makes pointer from integer without a cast [enabled by default]
>> drivers/mfd/flexcard_irq.c:120:51: error: dereferencing pointer to incomplete type
   drivers/mfd/flexcard_irq.c: In function 'flexcard_irq_mask':
   drivers/mfd/flexcard_irq.c:128:33: warning: initialization makes pointer from integer without a cast [enabled by default]
   drivers/mfd/flexcard_irq.c:129:51: error: dereferencing pointer to incomplete type
   drivers/mfd/flexcard_irq.c: In function 'flexcard_irq_unmask':
   drivers/mfd/flexcard_irq.c:141:33: warning: initialization makes pointer from integer without a cast [enabled by default]
   drivers/mfd/flexcard_irq.c:142:51: error: dereferencing pointer to incomplete type
   drivers/mfd/flexcard_irq.c: At top level:
   drivers/mfd/flexcard_irq.c:175:15: error: variable 'flexcard_irq_chip' has initializer but incomplete type
   drivers/mfd/flexcard_irq.c:176:2: error: unknown field 'name' specified in initializer
   drivers/mfd/flexcard_irq.c:176:2: warning: excess elements in struct initializer [enabled by default]
   drivers/mfd/flexcard_irq.c:176:2: warning: (near initialization for 'flexcard_irq_chip') [enabled by default]
   drivers/mfd/flexcard_irq.c:177:2: error: unknown field 'irq_ack' specified in initializer
   drivers/mfd/flexcard_irq.c:177:2: warning: excess elements in struct initializer [enabled by default]
   drivers/mfd/flexcard_irq.c:177:2: warning: (near initialization for 'flexcard_irq_chip') [enabled by default]
   drivers/mfd/flexcard_irq.c:178:2: error: unknown field 'irq_mask' specified in initializer
   drivers/mfd/flexcard_irq.c:178:2: warning: excess elements in struct initializer [enabled by default]
   drivers/mfd/flexcard_irq.c:178:2: warning: (near initialization for 'flexcard_irq_chip') [enabled by default]
   drivers/mfd/flexcard_irq.c:179:2: error: unknown field 'irq_unmask' specified in initializer
   drivers/mfd/flexcard_irq.c:179:2: warning: excess elements in struct initializer [enabled by default]
   drivers/mfd/flexcard_irq.c:179:2: warning: (near initialization for 'flexcard_irq_chip') [enabled by default]
   drivers/mfd/flexcard_irq.c: In function 'flexcard_irq_domain_map':
   drivers/mfd/flexcard_irq.c:187:2: error: implicit declaration of function 'irq_set_chip_and_handler_name'
   drivers/mfd/flexcard_irq.c:188:11: error: 'handle_level_irq' undeclared (first use in this function)
   drivers/mfd/flexcard_irq.c:188:11: note: each undeclared identifier is reported only once for each function it appears in
   drivers/mfd/flexcard_irq.c:189:2: error: implicit declaration of function 'irq_set_chip_data'
   drivers/mfd/flexcard_irq.c:190:2: error: implicit declaration of function 'irq_modify_status'
   drivers/mfd/flexcard_irq.c:190:25: error: 'IRQ_NOREQUEST' undeclared (first use in this function)
   drivers/mfd/flexcard_irq.c:190:41: error: 'IRQ_NOAUTOEN' undeclared (first use in this function)
   drivers/mfd/flexcard_irq.c:190:55: error: 'IRQ_NOPROBE' undeclared (first use in this function)
   cc1: some warnings being treated as errors

vim +120 drivers/mfd/flexcard_irq.c

   105	
   106		stat = readl(&priv->bar0->conf.irs) & VALID_DEVIRQ_MSK;
   107		while (stat) {
   108			slot = __ffs(stat);
   109			stat &= (1 << slot);
   110			cur = irq_linear_revmap(priv->irq_domain, slot);
 > 111			generic_handle_irq(cur);
   112			ret = IRQ_HANDLED;
   113		}
   114		return ret;
   115	}
   116	
   117	static void flexcard_irq_ack(struct irq_data *d)
   118	{
   119		struct flexcard_device *priv = irq_data_get_irq_chip_data(d);
 > 120		const struct fc_irq_tab *tp = &flexcard_irq_tab[d->hwirq];
   121		void __iomem *p = (void __iomem *)priv->bar0 + tp->ackoffs;
   122	
   123		writel(tp->ack, p);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux