Commit 91c8a7d5 authored by Bin Meng's avatar Bin Meng Committed by Anup Patel
Browse files

lib: utils/irqchip: plic: Fix the off-by-one error in plic_context_init()

The number of interrupt enable register in words was once correct,
but was wrongly changed to have an off-by-one error since
commit 8c362e7d ("lib: irqchip/plic: Factor out a context init function").

Fixes: 8c362e7d

 ("lib: irqchip/plic: Factor out a context init function")
Signed-off-by: default avatarBin Meng <bmeng@tinylab.org>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
Reviewed-by: default avatarSamuel Holland <samuel@sholland.org>
parent 8509e46c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment