You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by tm...@apache.org on 2023/08/08 14:58:42 UTC

[nuttx] 05/07: fs/inode: add missing FAR

This is an automated email from the ASF dual-hosted git repository.

tmedicci pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 4bebf64d6b9f5f7e6196051b0eb0ff337b5ee515
Author: Petro Karashchenko <pe...@gmail.com>
AuthorDate: Tue Aug 8 01:41:18 2023 +0300

    fs/inode: add missing FAR
    
    Signed-off-by: Petro Karashchenko <pe...@gmail.com>
---
 fs/inode/fs_inodesearch.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/inode/fs_inodesearch.c b/fs/inode/fs_inodesearch.c
index 553c143f3b..79f2125ff5 100644
--- a/fs/inode/fs_inodesearch.c
+++ b/fs/inode/fs_inodesearch.c
@@ -67,7 +67,7 @@ FAR struct inode *g_root_inode = NULL;
 
 static int _inode_compare(FAR const char *fname, FAR struct inode *node)
 {
-  char *nname = node->i_name;
+  FAR char *nname = node->i_name;
 
   if (!nname)
     {
@@ -351,7 +351,7 @@ static int _inode_search(FAR struct inode_search_s *desc)
 
                               if (*desc->relpath != '\0')
                                 {
-                                  char *buffer = NULL;
+                                  FAR char *buffer = NULL;
 
                                   ret = asprintf(&buffer,
                                                  "%s/%s", desc->relpath,