Thread (48 messages) 48 messages, 6 authors, 2014-09-25

[RFC Part2 v1 01/21] irqdomain: Introduce new interfaces to support hierarchy irqdomains

From: Jiang Liu <hidden>
Date: 2014-09-18 08:59:06
Also in: linux-acpi, linux-pci, lkml

On 2014/9/18 16:48, Joe.C wrote:
On Thu, 2014-09-11 at 22:03 +0800, Jiang Liu wrote:
quoted
+#else	/* CONFIG_IRQ_DOMAIN_HIERARCHY */
+static inline int irq_domain_activate_irq(struct irq_data *data) { return 0; }
+static inline int irq_domain_deactivate_irq(struct irq_data *data) { return 0; }
+#endif	/* CONFIG_IRQ_DOMAIN_HIERARCHY */
+
I get the following build warnings on these lines:

../include/linux/irqdomain.h:75:47: warning: 'struct irq_data' declared
inside parameter list [enabled by default]
../include/linux/irqdomain.h:75:47: warning: its scope is only this
definition or declaration, which is probably not what you want [enabled
by default]
../include/linux/irqdomain.h:76:49: warning: 'struct irq_data' declared
inside parameter list [enabled by default
Hi Joe,
	Thanks for testing. We should add a forward declaration of
struct irq_data to the top of include/linux/irqdomain.h.
Will fix it in next version.
Regards!
Gerry
Joe.C
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help