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 4f7de715a7181d4436b785b68501539e1b815d74
Author: Daniel P. Carvalho <[email protected]>
AuthorDate: Sun Oct 4 01:04:32 2026 -0300

    arch/mips/jz4780: fix nxstyle issues in jz4780_decodeirq.c.
    
    Add the missing blank lines after declarations.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Daniel P. Carvalho <[email protected]>
---
 arch/mips/src/jz4780/jz4780_decodeirq.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/mips/src/jz4780/jz4780_decodeirq.c 
b/arch/mips/src/jz4780/jz4780_decodeirq.c
index 69affc37311..4b26ceaf7c9 100644
--- a/arch/mips/src/jz4780/jz4780_decodeirq.c
+++ b/arch/mips/src/jz4780/jz4780_decodeirq.c
@@ -82,6 +82,7 @@ uint32_t *jz4780_decodeirq(uint32_t *regs)
   unsigned int source1 = getreg32(ICPR1);
 
   int irq = -1;
+
   if (source != 0)
     {
       irq = 31 - __builtin_clz(source);
@@ -112,6 +113,7 @@ uint32_t *jz4780_decodeirq(uint32_t *regs)
   else if (irq == JZ4780_IRQ_TCU2)
     {
       uint32_t tfcr = getreg32(TFR) & 0xdf;
+
       if (!tfcr)
         {
           irq = -1;
@@ -119,6 +121,7 @@ uint32_t *jz4780_decodeirq(uint32_t *regs)
       else
         {
           int n = 31 - __builtin_clz(tfcr);
+
           putreg32(TFCR_FFCL(n), TFCR);
           irq = IRQ_TMR0 + n;
         }

Reply via email to