gustavonihei opened a new pull request #3069:
URL: https://github.com/apache/incubator-nuttx/pull/3069


   ## Summary
   This MR intends to fix a misleading reported error when `mmap` is called 
with the MAP_PRIVATE flag and CONFIG_FS_RAMMAP is not enabled.
   
   A simple refactor on `fs_mmap.c` makes this dependency explicit.
   
   ## Impact
   No actual control flow change to the `mmap` function. When 
CONFIG_DEBUG_FEATURES is enabled, it will not report a ENOSYS error for `mmap` 
calls with MAP_PRIVATE flag and CONFIG_FS_RAMMAP not defined.
   
   ## Testing
   LTP tests on ESP32 and ESP32-C3.


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to