mirror of
https://github.com/apache/nuttx.git
synced 2026-09-09 02:16:35 +00:00
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 <justin@dynam.ac>
This commit is contained in:
parent
0d31418ba8
commit
01106b4784
1 changed files with 2 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue