Kernel module should prefer functions with nx/kmm prefix

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2020-05-02 22:30:58 +08:00
committed by Alin Jerpelea
parent 15480e51cf
commit 0536953ded
52 changed files with 207 additions and 262 deletions
+2 -6
View File
@@ -560,12 +560,8 @@ static int hostfs_rpmsg_stat_handler(FAR struct rpmsg_endpoint *ept,
struct stat buf;
int ret;
ret = stat(msg->pathname, &buf);
if (ret)
{
ret = -get_errno();
}
else
ret = nx_stat(msg->pathname, &buf, 1);
if (ret >= 0)
{
msg->buf = buf;
}