2013-06-18 14:09:04

by James Hogan

[permalink] [raw]
Subject: [PATCH] genirq: irqchip: document gcflags arg of irq_alloc_domain_generic_chips

Commit 088f40b7b027dad6519712ff224a5798dd62a204 ("genirq: Generic chip:
Add linear irq domain support") missed kerneldoc for the gcflags
argument of irq_alloc_domain_generic_chips(). Add it now.

Signed-off-by: James Hogan <[email protected]>
Cc: Thomas Gleixner <[email protected]>
---
kernel/irq/generic-chip.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/kernel/irq/generic-chip.c b/kernel/irq/generic-chip.c
index 95575d8..a746a8f 100644
--- a/kernel/irq/generic-chip.c
+++ b/kernel/irq/generic-chip.c
@@ -251,12 +251,13 @@ irq_gc_init_mask_cache(struct irq_chip_generic *gc, enum irq_gc_flags flags)
* @irqs_per_chip: Number of interrupts each chip handles
* @num_ct: Number of irq_chip_type instances associated with this
* @name: Name of the irq chip
* @handler: Default flow handler associated with these chips
* @clr: IRQ_* bits to clear in the mapping function
* @set: IRQ_* bits to set in the mapping function
+ * @gcflags: Generic chip specific setup flags
*/
int irq_alloc_domain_generic_chips(struct irq_domain *d, int irqs_per_chip,
int num_ct, const char *name,
irq_flow_handler_t handler,
unsigned int clr, unsigned int set,
enum irq_gc_flags gcflags)
--
1.8.1.2


2013-06-24 13:19:15

by Grant Likely

[permalink] [raw]
Subject: Re: [PATCH] genirq: irqchip: document gcflags arg of irq_alloc_domain_generic_chips

On Tue, 18 Jun 2013 15:08:33 +0100, James Hogan <[email protected]> wrote:
> Commit 088f40b7b027dad6519712ff224a5798dd62a204 ("genirq: Generic chip:
> Add linear irq domain support") missed kerneldoc for the gcflags
> argument of irq_alloc_domain_generic_chips(). Add it now.
>
> Signed-off-by: James Hogan <[email protected]>
> Cc: Thomas Gleixner <[email protected]>

Acked-by: Grant Likely <[email protected]>

> ---
> kernel/irq/generic-chip.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/kernel/irq/generic-chip.c b/kernel/irq/generic-chip.c
> index 95575d8..a746a8f 100644
> --- a/kernel/irq/generic-chip.c
> +++ b/kernel/irq/generic-chip.c
> @@ -251,12 +251,13 @@ irq_gc_init_mask_cache(struct irq_chip_generic *gc, enum irq_gc_flags flags)
> * @irqs_per_chip: Number of interrupts each chip handles
> * @num_ct: Number of irq_chip_type instances associated with this
> * @name: Name of the irq chip
> * @handler: Default flow handler associated with these chips
> * @clr: IRQ_* bits to clear in the mapping function
> * @set: IRQ_* bits to set in the mapping function
> + * @gcflags: Generic chip specific setup flags
> */
> int irq_alloc_domain_generic_chips(struct irq_domain *d, int irqs_per_chip,
> int num_ct, const char *name,
> irq_flow_handler_t handler,
> unsigned int clr, unsigned int set,
> enum irq_gc_flags gcflags)
> --
> 1.8.1.2
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

--
email sent from notmuch.vim plugin

Subject: [tip:irq/core] genirq: Irqchip: document gcflags arg of irq_alloc_domain_generic_chips

Commit-ID: 6fff8314046276331314ae32cea34c6d11c440d2
Gitweb: http://git.kernel.org/tip/6fff8314046276331314ae32cea34c6d11c440d2
Author: James Hogan <[email protected]>
AuthorDate: Tue, 18 Jun 2013 15:08:33 +0100
Committer: Thomas Gleixner <[email protected]>
CommitDate: Mon, 24 Jun 2013 15:38:12 +0200

genirq: Irqchip: document gcflags arg of irq_alloc_domain_generic_chips

Commit 088f40b7b027dad6519712ff224a5798dd62a204 ("genirq: Generic chip:
Add linear irq domain support") missed kerneldoc for the gcflags
argument of irq_alloc_domain_generic_chips(). Add it now.

Signed-off-by: James Hogan <[email protected]>
Acked-by: Grant Likely <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
---
kernel/irq/generic-chip.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/kernel/irq/generic-chip.c b/kernel/irq/generic-chip.c
index 95575d8..a746a8f 100644
--- a/kernel/irq/generic-chip.c
+++ b/kernel/irq/generic-chip.c
@@ -254,6 +254,7 @@ irq_gc_init_mask_cache(struct irq_chip_generic *gc, enum irq_gc_flags flags)
* @handler: Default flow handler associated with these chips
* @clr: IRQ_* bits to clear in the mapping function
* @set: IRQ_* bits to set in the mapping function
+ * @gcflags: Generic chip specific setup flags
*/
int irq_alloc_domain_generic_chips(struct irq_domain *d, int irqs_per_chip,
int num_ct, const char *name,