OSDN Git Service

um: Fix off by one error in IRQ enumeration
authorAnton Ivanov <anton.ivanov@cambridgegreys.com>
Fri, 12 Jul 2019 11:51:27 +0000 (12:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jan 2020 13:51:13 +0000 (14:51 +0100)
commit142c25ae48721d4ea287b780f741a0bba8a83947
treea222fadfac6eef29baafeccbe356290c22be569c
parente062ddd0cb08890e4df327e7846b69ffe62c3a8a
um: Fix off by one error in IRQ enumeration

[ Upstream commit 09ccf0364ca3e94aba4093707ef433ea8014e2a4 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/um/include/asm/irq.h