genirq/irqdomain: Fix debugging information in irq_create_mapping_affinity()
diff mbox series

Message ID 1611393083-6037-1-git-send-email-stephenzhangzsd@gmail.com
State New, archived
Headers show
Series
  • genirq/irqdomain: Fix debugging information in irq_create_mapping_affinity()
Related show

Commit Message

Stephen Zhang Jan. 23, 2021, 9:11 a.m. UTC
Replace the function name with __func__ in case of changes.

Signed-off-by: Stephen Zhang <stephenzhangzsd@gmail.com>
---
 kernel/irq/irqdomain.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c
index 6aacd34..2cad63e 100644
--- a/kernel/irq/irqdomain.c
+++ b/kernel/irq/irqdomain.c
@@ -661,7 +661,7 @@  unsigned int irq_create_mapping_affinity(struct irq_domain *domain,
 	struct device_node *of_node;
 	int virq;
 
-	pr_debug("irq_create_mapping(0x%p, 0x%lx)\n", domain, hwirq);
+	pr_debug("%s(0x%p, 0x%lx)\n",  __func__, domain, hwirq);
 
 	/* Look for default domain if nececssary */
 	if (domain == NULL)