gustavonihei commented on code in PR #8140:
URL: https://github.com/apache/nuttx/pull/8140#discussion_r1071250885


##########
include/nuttx/mm/mm.h:
##########
@@ -88,9 +88,11 @@
 
 /* The kernel heap is never accessible from user code */
 
+#if defined(CONFIG_BUILD_KERNEL) || defined(CONFIG_BUILD_PROTECTED)
 #ifndef __KERNEL__

Review Comment:
   This suggestion is not equivalent. Is this what you intended to suggest?
   
   ```suggestion
   #if !defined(__KERNEL__) && !defined(CONFIG_BUILD_FLAT)
   ```



-- 
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]

Reply via email to