You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/02/15 14:26:46 UTC

[incubator-nuttx] 02/02: Fix the minor style issue

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

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

commit db57e2cd8efe27fe7658c454ffbf5dbcc0362b17
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Sun Feb 13 06:27:50 2022 +0800

    Fix the minor style issue
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 arch/risc-v/src/common/Toolchain.defs | 2 +-
 include/nuttx/serial/uart_rpmsg.h     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/risc-v/src/common/Toolchain.defs b/arch/risc-v/src/common/Toolchain.defs
index 83970f3..95f7854 100644
--- a/arch/risc-v/src/common/Toolchain.defs
+++ b/arch/risc-v/src/common/Toolchain.defs
@@ -82,7 +82,7 @@ ifeq ($(CONFIG_RISCV_TOOLCHAIN),GNU_RVG)
   endif
 
   ifeq ($(CONFIG_ARCH_FPU),y)
-      ARCHRVISAF = f
+    ARCHRVISAF = f
   endif
 
   ifeq ($(CONFIG_ARCH_DPFPU),y)
diff --git a/include/nuttx/serial/uart_rpmsg.h b/include/nuttx/serial/uart_rpmsg.h
index c4e2de8..d702914 100644
--- a/include/nuttx/serial/uart_rpmsg.h
+++ b/include/nuttx/serial/uart_rpmsg.h
@@ -43,7 +43,7 @@ extern "C"
 #define EXTERN extern
 #endif
 
-int uart_rpmsg_init(FAR const char *cpu_name, FAR const char *dev_name,
+int uart_rpmsg_init(FAR const char *cpuname, FAR const char *devname,
                     int buf_size, bool isconsole);
 
 #undef EXTERN