Skip to content
Commit 354254ff authored by Manuel Argüelles's avatar Manuel Argüelles Committed by Carles Cufi
Browse files

arch: arm: aarch32: mpu: fix is in region check



Buffer size must be decreased by one when non-zero to calculate the
right end address, and this must be checked for overflows.

Variables for region limit renamed for clarity since they may be
understood as the raw register values.

Signed-off-by: default avatarManuel Arguelles <manuel.arguelles@nxp.com>
parent 189caf36
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment