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 2022/09/01 06:54:25 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #6979: mm: umm_heap: Do not register Umem if CONFIG_BUILD_KERNEL=y

xiaoxiang781216 commented on code in PR #6979:
URL: https://github.com/apache/incubator-nuttx/pull/6979#discussion_r960281884


##########
fs/procfs/fs_procfsmeminfo.c:
##########
@@ -578,6 +578,11 @@ static int meminfo_stat(FAR const char *relpath, FAR struct stat *buf)
 
 void procfs_register_meminfo(FAR struct procfs_meminfo_entry_s *entry)
 {
+  if (NULL == entry->name)

Review Comment:
   should we add '__KERNEL__' too?



-- 
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: commits-unsubscribe@nuttx.apache.org

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