um: Fix off by one error in IRQ enumeration

Fix an off-by-one in IRQ enumeration

Fixes: 49da7e64f3 ("High Performance UML Vector Network Driver")
Reported by: Dana Johnson <[email protected]>
Signed-off-by: Anton Ivanov <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
This commit is contained in:
Anton Ivanov authored and Richard Weinberger committed 2019-09-15 21:37:07 +02:00
1 parent 089cf7f6ec
commit 09ccf0364c
1 file changed
+1 -1
+1 -1
View File
@@ -23,7 +23,7 @@
#define VECTOR_BASE_IRQ 15
#define VECTOR_IRQ_SPACE 8
#define LAST_IRQ (VECTOR_IRQ_SPACE + VECTOR_BASE_IRQ)
#define LAST_IRQ (VECTOR_IRQ_SPACE + VECTOR_BASE_IRQ - 1)
#else