nuttx/arch/risc-v
chao an 4b086f595e arch/risc-v: rename local variable name to avoid shadowed declaration
In file included from common/addrenv.h:33,
                 from common/riscv_initialstate.c:36:
common/riscv_initialstate.c: In function 'up_initial_state':
common/riscv_internal.h:136:16: warning: declaration of 'regval' shadows a previous local [-Wshadow]
  136 |      uintptr_t regval; \
      |                ^~~~~~
common/riscv_initialstate.c:74:12: note: in expansion of macro 'READ_CSR'
   74 |   regval = READ_CSR(CSR_VLENB);
      |            ^~~~~~~~
common/riscv_initialstate.c:63:13: note: shadowed declaration is here
   63 |   uintptr_t regval;
      |             ^~~~~~

Signed-off-by: chao an <anchao@lixiang.com>
2024-04-22 16:22:51 +08:00
..
include riscv: Add Vector CSRs to csr.h 2024-04-19 00:31:07 +08:00
src arch/risc-v: rename local variable name to avoid shadowed declaration 2024-04-22 16:22:51 +08:00
CMakeLists.txt
Kconfig arch/risc-v: add llvm experimental extensions into command line 2024-04-19 20:13:54 +08:00