Skip to content
Commit 6b740b20 authored by Daniel Leung's avatar Daniel Leung Committed by Fabio Baltieri
Browse files

riscv: renames shadow variables



In print_pmp_entries(), start and end are function arguments
and yet another start and end are declared inside the for
loop. So rename the function arguments to fix shadow variables
warning.

The changes in csr_*() macros are needed to avoid shadowing
__v when nesting those functions together, for example,
csr_write(..., csr_read(...)).

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 88c43566
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment