All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] genirq/debugfs: fix build for !CONFIG_IRQ_DOMAIN
@ 2017-07-04  9:25 Sebastian Ott
  2017-07-04 10:39 ` [tip:irq/urgent] genirq/debugfs: Fix " tip-bot for Sebastian Ott
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Ott @ 2017-07-04  9:25 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: linux-kernel

Fix this build error:

kernel/irq/internals.h:440:20: error: inlining failed in call to always_inline
  'irq_domain_debugfs_init': function body not available
kernel/irq/debugfs.c:202:2: note: called from here
  irq_domain_debugfs_init(root_dir);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
---
 kernel/irq/internals.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h
index 9da14d1..dbfba99 100644
--- a/kernel/irq/internals.h
+++ b/kernel/irq/internals.h
@@ -437,7 +437,9 @@ static inline void irq_remove_debugfs_entry(struct irq_desc *desc)
 # ifdef CONFIG_IRQ_DOMAIN
 void irq_domain_debugfs_init(struct dentry *root);
 # else
-static inline void irq_domain_debugfs_init(struct dentry *root);
+static inline void irq_domain_debugfs_init(struct dentry *root)
+{
+}
 # endif
 #else /* CONFIG_GENERIC_IRQ_DEBUGFS */
 static inline void irq_add_debugfs_entry(unsigned int irq, struct irq_desc *d)
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-04 10:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-04  9:25 [PATCH] genirq/debugfs: fix build for !CONFIG_IRQ_DOMAIN Sebastian Ott
2017-07-04 10:39 ` [tip:irq/urgent] genirq/debugfs: Fix " tip-bot for Sebastian Ott

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.