You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2026/09/04 18:56:45 UTC

(nuttx) 01/04: arch/risc-v/eic7700x: Add the blank lines nxstyle asks for.

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

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

commit 01106b4784797b0f1b584aedfa1b0d672ae77f8b
Author: Justin Hammond <ju...@dynam.ac>
AuthorDate: Sat Aug 29 15:58:52 2026 +0800

    arch/risc-v/eic7700x: Add the blank lines nxstyle asks for.
    
    Two declarations in eic7700x_start.c are followed immediately by a
    statement, which nxstyle reports as "Missing blank line after
    declarations".  Both predate this series and are already in master, but
    CI runs checkpatch over the whole range rather than per commit, so any
    change touching this file is reported against them.
    
    Whitespace only, no functional change.
    
    Assisted-by: Claude:claude-opus-5
    Signed-off-by: Justin Hammond <ju...@dynam.ac>
---
 arch/risc-v/src/eic7700x/eic7700x_start.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/risc-v/src/eic7700x/eic7700x_start.c b/arch/risc-v/src/eic7700x/eic7700x_start.c
index e2f9ff2e458..b8bd5c74819 100644
--- a/arch/risc-v/src/eic7700x/eic7700x_start.c
+++ b/arch/risc-v/src/eic7700x/eic7700x_start.c
@@ -105,6 +105,7 @@ static void eic7700x_copy_overlap(uint8_t *dest, const uint8_t *src,
   while (count--)
     {
       volatile uint8_t c = *s;  /* Prevent compiler optimization */
+
       *d = c;
       d--;
       s--;
@@ -157,6 +158,7 @@ static void eic7700x_copy_ramdisk(void)
   if (ramdisk_addr <= (uint8_t *)g_idle_topstack)
     {
       const size_t pad = (size_t)g_idle_topstack - (size_t)ramdisk_addr;
+
       _err("RAM Disk must be after Idle Stack. Increase initrd padding "
             "by %ul bytes.", pad);
       PANIC();