OSDN Git Service

um: irq: Fix LAST_IRQ usage in init_IRQ()
authorErel Geron <erelx.geron@intel.com>
Wed, 31 Jul 2019 20:29:41 +0000 (22:29 +0200)
committerRichard Weinberger <richard@nod.at>
Mon, 16 Sep 2019 06:38:58 +0000 (08:38 +0200)
commit73625ed66389d4c620520058d828f43a93ab4d0c
tree3b2c92354eeacf242c4a72f76c90e44a08029241
parentf2f4bf5aabadd6575f5daabcb0a2f506e3f5f68c
um: irq: Fix LAST_IRQ usage in init_IRQ()

LAST_IRQ was used incorrectly in init_IRQ.
Commit 09ccf0364ca3 forgot to update the for loop.
Fix this.

Fixes: 49da7e64f33e ("High Performance UML Vector Network Driver")
Fixes: 09ccf0364ca3 ("um: Fix off by one error in IRQ enumeration")
Signed-off-by: Erel Geron <erelx.geron@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: Anton Ivanov <anton.ivanov@cambridgegreys.co.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/kernel/irq.c