2019-10-19 09:59:40

by Yi Wang

[permalink] [raw]
Subject: [PATCH] irq/irqdomain: __irq_domain_alloc_fwnode comment

Commit b977fcf477c1 ("irqdomain/debugfs: Use PAs to generate fwnode names")
changed the parameter of __irq_domain_alloc_fwnode(), but didn't
change the comment meanwhile.

This patch can fix this.

Signed-off-by: Yi Wang <[email protected]>
---
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 132672b..dd822fd 100644
--- a/kernel/irq/irqdomain.c
+++ b/kernel/irq/irqdomain.c
@@ -51,7 +51,7 @@ static inline void debugfs_remove_domain_dir(struct irq_domain *d) { }
* @type: Type of irqchip_fwnode. See linux/irqdomain.h
* @name: Optional user provided domain name
* @id: Optional user provided id if name != NULL
- * @data: Optional user-provided data
+ * @pa: Optional user-provided physical address
*
* Allocate a struct irqchip_fwid, and return a poiner to the embedded
* fwnode_handle (or NULL on failure).
--
1.8.3.1


2019-11-04 23:53:33

by tip-bot2 for Jacob Pan

[permalink] [raw]
Subject: [tip: irq/urgent] irq/irqdomain: Update __irq_domain_alloc_fwnode() function documentation

The following commit has been merged into the irq/urgent branch of tip:

Commit-ID: 0ed9ca25894ef673d0259e4bd312d5fa1b9a6591
Gitweb: https://git.kernel.org/tip/0ed9ca25894ef673d0259e4bd312d5fa1b9a6591
Author: Yi Wang <[email protected]>
AuthorDate: Sat, 19 Oct 2019 17:07:27 +08:00
Committer: Thomas Gleixner <[email protected]>
CommitterDate: Tue, 05 Nov 2019 00:48:26 +01:00

irq/irqdomain: Update __irq_domain_alloc_fwnode() function documentation

A recent commit changed a parameter of __irq_domain_alloc_fwnode(), but
did not update the documentation comment. Fix it up.

Fixes: b977fcf477c1 ("irqdomain/debugfs: Use PAs to generate fwnode names")
Signed-off-by: Yi Wang <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]

---
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 132672b..dd822fd 100644
--- a/kernel/irq/irqdomain.c
+++ b/kernel/irq/irqdomain.c
@@ -51,7 +51,7 @@ EXPORT_SYMBOL_GPL(irqchip_fwnode_ops);
* @type: Type of irqchip_fwnode. See linux/irqdomain.h
* @name: Optional user provided domain name
* @id: Optional user provided id if name != NULL
- * @data: Optional user-provided data
+ * @pa: Optional user-provided physical address
*
* Allocate a struct irqchip_fwid, and return a poiner to the embedded
* fwnode_handle (or NULL on failure).