commit | 6b740b20de46d2f5d51ef3a248ddcc0ce92c6a40 | [log] [tgz] |
---|---|---|
author | Daniel Leung <daniel.leung@intel.com> | Thu Aug 03 10:35:20 2023 -0700 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Thu Aug 10 08:14:12 2023 +0000 |
tree | 6fb06d557fd2293a4da73361796965303d6d4756 | |
parent | 88c43566fa51523508a8742547a89dbe80cf02d4 [diff] |
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: Daniel Leung <daniel.leung@intel.com>