pussuw commented on code in PR #6162:
URL: https://github.com/apache/incubator-nuttx/pull/6162#discussion_r859798924
##########
arch/risc-v/src/common/riscv_internal.h:
##########
@@ -119,16 +119,16 @@
#define READ_CSR(reg) \
({ \
- uintptr_t reg##_val; \
Review Comment:
I think this should be fine, it just performs a string append, so e.g.
`READ_CSR(mhartid); `
becomes
`uintptr_t mhartdid_val;` etc
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]