fs/inode: add missing FAR

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko 2023-08-08 01:41:18 +03:00 committed by Tiago Medicci Serrano
parent d113722eb2
commit 4bebf64d6b

View File

@ -67,7 +67,7 @@ FAR struct inode *g_root_inode = NULL;
static int _inode_compare(FAR const char *fname, FAR struct inode *node) 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) if (!nname)
{ {
@ -351,7 +351,7 @@ static int _inode_search(FAR struct inode_search_s *desc)
if (*desc->relpath != '\0') if (*desc->relpath != '\0')
{ {
char *buffer = NULL; FAR char *buffer = NULL;
ret = asprintf(&buffer, ret = asprintf(&buffer,
"%s/%s", desc->relpath, "%s/%s", desc->relpath,