Commit 34da6638 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 priority save/restore helpers

Interrupt source 0 is reserved. Hence the irq should start from 1.

Fixes: 2b79b694

 ("lib: irqchip/plic: Add priority save/restore helpers")
Signed-off-by: default avatarBin Meng <bmeng@tinylab.org>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
parent 7a3354ac
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