Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1733426
| From | Thomas Gleixner <tglx@linutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [GIT pull] irq fix for 4.14 |
| Date | 2017-09-17 11:40 +0200 |
| Message-ID | <uqEds-67G-13@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Linus,
please pull the latest irq-urgent-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-for-linus
Fix for an off by one error in a cpumask result comparison.
Thanks,
tglx
------------------>
Thomas Gleixner (1):
genirq: Fix cpumask check in __irq_startup_managed()
kernel/irq/chip.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
index f51b7b6d2451..6fc89fd93824 100644
--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -202,7 +202,7 @@ __irq_startup_managed(struct irq_desc *desc, struct cpumask *aff, bool force)
irqd_clr_managed_shutdown(d);
- if (cpumask_any_and(aff, cpu_online_mask) > nr_cpu_ids) {
+ if (cpumask_any_and(aff, cpu_online_mask) >= nr_cpu_ids) {
/*
* Catch code which fiddles with enable_irq() on a managed
* and potentially shutdown IRQ. Chained interrupt
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[GIT pull] irq fix for 4.14 Thomas Gleixner <tglx@linutronix.de> - 2017-09-17 11:40 +0200
csiph-web