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

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

commit 8453a4a52317c4d64ef4fdff1e2713aaf7380a32
Author: Bowen Wang <[email protected]>
AuthorDate: Thu Oct 29 01:20:43 2026 +0800

    drivers/rpmsg/rpmsg_port_uart: fix nxstyle errors
    
    Add the blank line after declarations that tools/nxstyle requires,
    so later changes to this file pass checkpatch.  No functional change.
    
    Signed-off-by: Bowen Wang <[email protected]>
---
 drivers/rpmsg/rpmsg_port_uart.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/rpmsg/rpmsg_port_uart.c b/drivers/rpmsg/rpmsg_port_uart.c
index 6158bfe6f55..d8fb5fa1601 100644
--- a/drivers/rpmsg/rpmsg_port_uart.c
+++ b/drivers/rpmsg/rpmsg_port_uart.c
@@ -178,6 +178,7 @@ rpmsg_port_uart_set(FAR struct rpmsg_port_uart_s *rpuart,
                     nxevent_mask_t event)
 {
   bool ret = rpmsg_port_uart_check(rpuart, event);
+
   nxevent_post(&rpuart->event, event, 0);
   return ret;
 }
@@ -215,6 +216,7 @@ static inline void
 rpmsg_port_uart_send_one(FAR struct rpmsg_port_uart_s *rpuart, uint8_t ch)
 {
   ssize_t ret = file_write(&rpuart->file, &ch, 1);
+
   if (ret != 1)
     {
       rpmsgerr("Send ch %u failed, ret=%zd\n", ch, ret);
@@ -301,6 +303,7 @@ static void rpmsg_port_uart_send_packet(FAR struct 
rpmsg_port_uart_s *rpuart,
   while (datalen > 0)
     {
       ssize_t ret = file_write(&rpuart->file, data, datalen);
+
       DEBUGASSERT(ret >= 0);
 
       data = (FAR uint8_t *)data + ret;

Reply via email to