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 322a1c081c9cd83ba34a50502e61f493868abf32
Author: Daniel P. Carvalho <[email protected]>
AuthorDate: Sat Oct 3 19:10:33 2026 -0300

    arch/mips/pic32mz: fix nxstyle issues in pic32mz_ethernet.c.
    
    Fix the indentation of a wd_cancel() call and add braces to an empty
    while loop, so that the file passes checkpatch.sh.  No functional change.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Daniel P. Carvalho <[email protected]>
---
 arch/mips/src/pic32mz/pic32mz_ethernet.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/mips/src/pic32mz/pic32mz_ethernet.c 
b/arch/mips/src/pic32mz/pic32mz_ethernet.c
index 3f4bd5a2a25..0687d95e329 100644
--- a/arch/mips/src/pic32mz/pic32mz_ethernet.c
+++ b/arch/mips/src/pic32mz/pic32mz_ethernet.c
@@ -1931,7 +1931,7 @@ static int pic32mz_interrupt(int irq, void *context, void 
*arg)
        * expiration and the deferred interrupt processing.
        */
 
-       wd_cancel(&priv->pd_txtimeout);
+      wd_cancel(&priv->pd_txtimeout);
     }
 
   /* Schedule to perform the interrupt processing on the worker thread. */
@@ -3273,7 +3273,8 @@ static void pic32mz_ethreset(struct pic32mz_driver_s 
*priv)
   /* Wait activity abort by polling the ETHBUSY bit */
 
   while ((pic32mz_getreg(PIC32MZ_ETH_STAT) & ETH_STAT_ETHBUSY) != 0)
-    continue;
+    {
+    }
 
   /* Turn the Ethernet controller on. */
 

Reply via email to