From 4bebf64d6b9f5f7e6196051b0eb0ff337b5ee515 Mon Sep 17 00:00:00 2001 From: Petro Karashchenko Date: Tue, 8 Aug 2023 01:41:18 +0300 Subject: [PATCH] fs/inode: add missing FAR Signed-off-by: Petro Karashchenko --- 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,