You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/06/02 14:40:30 UTC

[nuttx] branch master updated: mm/kmm_map: Fix code style error

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 61a46ad39e mm/kmm_map: Fix code style error
61a46ad39e is described below

commit 61a46ad39ef215213cb831d5b58834bf2a5a7ad0
Author: Ville Juven <vi...@unikie.com>
AuthorDate: Fri Jun 2 10:44:08 2023 +0300

    mm/kmm_map: Fix code style error
    
    As pointed out in https://github.com/apache/nuttx/pull/9368
---
 mm/kmap/kmm_map.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/kmap/kmm_map.c b/mm/kmap/kmm_map.c
index 5efdfe5074..4c47ad2f70 100644
--- a/mm/kmap/kmm_map.c
+++ b/mm/kmap/kmm_map.c
@@ -278,7 +278,7 @@ FAR void *kmm_map(FAR void **pages, size_t npages, int prot)
       return NULL;
     }
 
-  return (FAR void *)(vaddr);
+  return (FAR void *)vaddr;
 }
 
 /****************************************************************************