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

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

commit e287c23b91ed42ddadb684be5be8a48c02299978
Author: Marco Casaroli <[email protected]>
AuthorDate: Thu Oct 29 20:26:10 2026 +0100

    drivers/syslog: Add the blank lines that nxstyle asks for.
    
    Add a blank line after the declaration of "flags" in
    syslog_default_putc() and syslog_default_write().  No change of the
    code.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <[email protected]>
---
 drivers/syslog/syslog_channel.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/syslog/syslog_channel.c b/drivers/syslog/syslog_channel.c
index 1abb3097fce..9519c7cbcd6 100644
--- a/drivers/syslog/syslog_channel.c
+++ b/drivers/syslog/syslog_channel.c
@@ -292,6 +292,7 @@ static int syslog_default_putc(FAR syslog_channel_t 
*channel, int ch)
        */
 
       irqstate_t flags = enter_critical_section();
+
       up_putc(ch);
       leave_critical_section(flags);
     }
@@ -316,6 +317,7 @@ static ssize_t syslog_default_write(FAR syslog_channel_t 
*channel,
        */
 
       irqstate_t flags = enter_critical_section();
+
       up_nputs(buffer, buflen);
       leave_critical_section(flags);
     }

Reply via email to