acassis commented on code in PR #17967: URL: https://github.com/apache/nuttx/pull/17967#discussion_r2698289258
########## arch/arm64/src/common/arm64_mpu.c: ########## @@ -73,7 +73,7 @@ * regions. */ -static unsigned int g_mpu_region; +static unsigned int g_mpu_region[CONFIG_SMP_NCPUS]; Review Comment: @hujun260 I think there is an issue here, CONFIG_SMP_NCPUS is not defined if CONFIG_SMP it not defined. Maybe you need to create a failsafe guard with #ifndef CONFIG_SMP_NCPUS #define CONFIG_SMP_NCPUS 1 #endif -- 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]
