Files
Linux/kernel/irq
Rob Herring eef24afb28 irq: Fix check for already initialized irq_domain in irq_domain_add
The sanity check in irq_domain_add() tests desc->irq_data != NULL or
irq_data->domain != NULL. This prevents adding an irq_domain to a irq
descriptor when irq_data exists, which true when the irq descriptor
exists.

This went unnoticed so far as the simple domain code did not enter
this code path because domain->nr_irqs is always 0 for the simple domains.

Split the check for irq_data == NULL out and have a separate warning
for it.

[ tglx: Made the check for irq_data == NULL separate ]

Signed-off-by: Rob Herring <[email protected]>
Cc: Grant Likely <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
2011-09-20 12:16:22 +02:00
..
2011-03-29 14:48:19 +02:00
2011-07-25 20:57:14 -07:00
2011-03-29 14:48:19 +02:00
2011-07-26 16:24:02 +02:00
2011-03-29 14:48:19 +02:00
2011-08-18 14:12:48 -07:00
2011-03-31 11:26:23 -03:00
2011-03-29 14:48:19 +02:00