You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/03/15 21:50:20 UTC

[GitHub] [incubator-nuttx] gustavonihei opened a new pull request #3069: fs/mmap: Clarify MAP_PRIVATE dependency on CONFIG_FS_RAMMAP

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:
users@infra.apache.org



[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #3069: fs/mmap: Clarify MAP_PRIVATE dependency on CONFIG_FS_RAMMAP

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged pull request #3069:
URL: https://github.com/apache/incubator-nuttx/pull/3069


   


----------------------------------------------------------------
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:
users@infra.apache.org