diff options
author | Anton Ivanov <anton.ivanov@cambridgegreys.com> | 2019-07-12 14:51:27 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2019-09-15 22:37:07 +0300 |
commit | 09ccf0364ca3e94aba4093707ef433ea8014e2a4 (patch) | |
tree | 41357b69e92e01621b4944a86b2eb149e2a8cbba | |
parent | 089cf7f6ecb266b6a4164919a2e69bd2f938374a (diff) | |
download | linux-09ccf0364ca3e94aba4093707ef433ea8014e2a4.tar.xz |
um: Fix off by one error in IRQ enumeration
Fix an off-by-one in IRQ enumeration
Fixes: 49da7e64f33e ("High Performance UML Vector Network Driver")
Reported by: Dana Johnson <djohns042@gmail.com>
Signed-off-by: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
-rw-r--r-- | arch/um/include/asm/irq.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/include/asm/irq.h b/arch/um/include/asm/irq.h index 49ed3e35b35a..ce7a78c3bcf2 100644 --- a/arch/um/include/asm/irq.h +++ b/arch/um/include/asm/irq.h @@ -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 |