From 01106b4784797b0f1b584aedfa1b0d672ae77f8b Mon Sep 17 00:00:00 2001 From: Justin Hammond Date: Sat, 29 Aug 2026 15:58:52 +0800 Subject: [PATCH] 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 --- 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();