ldube commented on code in PR #19854:
URL: https://github.com/apache/nuttx/pull/19854#discussion_r3789445309


##########
fs/vfs/fs_read.c:
##########
@@ -176,6 +176,16 @@ ssize_t file_readv(FAR struct file *filep,
       return -EFAULT;
     }
 
+#if defined(CONFIG_BUILD_KERNEL) && CONFIG_ARCH_TEXT_VBASE == 0
+
+  /* -------------------- DO NOT REMOVE --------------------
+   * Only for kernel builds with CONFIG_ARCH_TEXT_VBASE == 0.
+   * In this case we have to allow the NULL buffer otherwise
+   * kernel builds will fail to load elf binaries found at 0.
+   */
+
+#else
+

Review Comment:
   Ok



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