]> Git Repo - linux.git/commit
genirq: Fix cpumask check in __irq_startup_managed()
authorThomas Gleixner <[email protected]>
Wed, 13 Sep 2017 21:29:03 +0000 (23:29 +0200)
committerThomas Gleixner <[email protected]>
Sat, 16 Sep 2017 18:20:56 +0000 (20:20 +0200)
commit9cb067ef8a10bb13112e4d1c0ea996ec96527422
tree3d7c4506ca1f60950456174f133271a648411fb6
parent7318413077a5141a50a753b1fab687b7907eef16
genirq: Fix cpumask check in __irq_startup_managed()

The result of cpumask_any_and() is invalid when result greater or equal
nr_cpu_ids. The current check is checking for greater only. Fix it.

Fixes: 761ea388e8c4 ("genirq: Handle managed irqs gracefully in irq_startup()")
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Boris Ostrovsky <[email protected]>
Cc: Juergen Gross <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Chen Yu <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: Alok Kataria <[email protected]>
Cc: Joerg Roedel <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: [email protected]
Cc: Paolo Bonzini <[email protected]>
Cc: Rui Zhang <[email protected]>
Cc: "K. Y. Srinivasan" <[email protected]>
Cc: Arjan van de Ven <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Len Brown <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
kernel/irq/chip.c
This page took 0.048863 seconds and 4 git commands to generate.