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

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

commit 0184959c79a36f025be9ba930592a302d0ca49f2
Author: zhangyuan29 <[email protected]>
AuthorDate: Fri Nov 20 11:18:42 2026 +0800

    arch/risc-v/gd32vw55x: fix nxstyle errors in wrapper_nuttx.c
    
    nxstyle reports a missing blank line after a declaration in four
    functions, so any change to the file fails the style check.
    
    No functional change.
    
    Signed-off-by: zhangyuan29 <[email protected]>
---
 arch/risc-v/src/gd32vw55x/gdwifi/wrapper_nuttx.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/risc-v/src/gd32vw55x/gdwifi/wrapper_nuttx.c 
b/arch/risc-v/src/gd32vw55x/gdwifi/wrapper_nuttx.c
index 6264aae5a6e..6b14407fb2c 100644
--- a/arch/risc-v/src/gd32vw55x/gdwifi/wrapper_nuttx.c
+++ b/arch/risc-v/src/gd32vw55x/gdwifi/wrapper_nuttx.c
@@ -179,6 +179,7 @@ static struct nx_task_s *task_slot_from_handle(void *task)
 {
   pid_t pid = (task == NULL) ? nxsched_gettid() :
               (pid_t)(uintptr_t)task - 1;
+
   return task_slot_find(pid);
 }
 
@@ -386,6 +387,7 @@ void sys_mfree(void *ptr)
 int32_t sys_free_heap_size(void)
 {
   struct mallinfo info = kmm_mallinfo();
+
   return info.fordblks;
 }
 
@@ -583,6 +585,7 @@ char *sys_task_name_get(void *task)
 #if CONFIG_TASK_NAME_SIZE > 0
   struct tcb_s *tcb = nxsched_get_tcb(task == NULL ? nxsched_gettid() :
                                       (pid_t)(uintptr_t)task - 1);
+
   return tcb ? tcb->name : NULL;
 #else
   return NULL;
@@ -1114,6 +1117,7 @@ int32_t sys_random_bytes_get(void *dst, uint32_t size)
   /* Hardware TRNG via the SDK driver (self-initializing) */
 
   extern int random_get(unsigned char *dst, unsigned int size);
+
   return random_get(dst, size);
 }
 

Reply via email to