irq: clean up manage.c
- make printk message git-greppable - fix a few style details Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
@@ -687,11 +687,12 @@ int request_irq(unsigned int irq, irq_handler_t handler,
|
|||||||
* the behavior is classified as "will not fix" so we need to
|
* the behavior is classified as "will not fix" so we need to
|
||||||
* start nudging drivers away from using that idiom.
|
* start nudging drivers away from using that idiom.
|
||||||
*/
|
*/
|
||||||
if ((irqflags & (IRQF_SHARED|IRQF_DISABLED))
|
if ((irqflags & (IRQF_SHARED|IRQF_DISABLED)) ==
|
||||||
== (IRQF_SHARED|IRQF_DISABLED))
|
(IRQF_SHARED|IRQF_DISABLED)) {
|
||||||
pr_warning("IRQ %d/%s: IRQF_DISABLED is not "
|
pr_warning(
|
||||||
"guaranteed on shared IRQs\n",
|
"IRQ %d/%s: IRQF_DISABLED is not guaranteed on shared IRQs\n",
|
||||||
irq, devname);
|
irq, devname);
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_LOCKDEP
|
#ifdef CONFIG_LOCKDEP
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user