lkml.org 
[lkml]   [2021]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] genirq/irqdomain: Fix debugging information in irq_create_mapping_affinity()
Date
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(-)

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)
--
1.8.3.1
\
 
 \ /
  Last update: 2021-01-23 10:14    [W:0.031 / U:1.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site