From 61a46ad39ef215213cb831d5b58834bf2a5a7ad0 Mon Sep 17 00:00:00 2001 From: Ville Juven Date: Fri, 2 Jun 2023 10:44:08 +0300 Subject: [PATCH] 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; } /****************************************************************************