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 a6f5b1b2b5ef87f43c161d36c7f570c7b9316432
Author: Royyan Zahir <[email protected]>
AuthorDate: Sun Oct 4 18:50:46 2026 +0400

    arch/arm/imxrt: nxstyle fixes in imxrt_enet.c
    
    Blank lines after declarations and the RX_ER pin indentation, so
    checkpatch passes on the file.
    
    Signed-off-by: Royyan Zahir <[email protected]>
---
 arch/arm/src/imxrt/imxrt_enet.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/arch/arm/src/imxrt/imxrt_enet.c b/arch/arm/src/imxrt/imxrt_enet.c
index 46f0bba4600..e1dca97aaf2 100644
--- a/arch/arm/src/imxrt/imxrt_enet.c
+++ b/arch/arm/src/imxrt/imxrt_enet.c
@@ -1912,6 +1912,7 @@ static int imxrt_ioctl(struct net_driver_s *dev, int cmd, 
unsigned long arg)
         {
           struct mii_ioctl_data_s *req =
             (struct mii_ioctl_data_s *)((uintptr_t)arg);
+
           req->phy_id = priv->phyaddr;
           ret = OK;
         }
@@ -1944,6 +1945,7 @@ static int imxrt_ioctl(struct net_driver_s *dev, int cmd, 
unsigned long arg)
         {
           struct mii_ioctl_data_s *req =
             (struct mii_ioctl_data_s *)((uintptr_t)arg);
+
           ret = imxrt_writemii(priv, req->phy_id, req->reg_num, req->val_in);
         }
         break;
@@ -2300,6 +2302,7 @@ static int imxrt_phy_status(struct imxrt_driver_s *priv, 
int phydata,
                             uint16_t mask)
 {
   int rv = mask;
+
   if (g_board_phys[priv->current_phy].status != 0xffff)
     {
       rv &= phydata;
@@ -3130,7 +3133,7 @@ int imxrt_netinitialize(int intf)
   imxrt_config_gpio(GPIO_ENET_TX_CLK);
   imxrt_config_gpio(GPIO_ENET_TX_EN);
 #  ifdef GPIO_ENET_RX_ER
-    imxrt_config_gpio(GPIO_ENET_RX_ER);
+  imxrt_config_gpio(GPIO_ENET_RX_ER);
 #  endif
 #endif
 
@@ -3145,7 +3148,7 @@ int imxrt_netinitialize(int intf)
   imxrt_config_gpio(GPIO_ENET2_TX_CLK);
   imxrt_config_gpio(GPIO_ENET2_TX_EN);
 #  ifdef GPIO_ENET2_RX_ER
-    imxrt_config_gpio(GPIO_ENET2_RX_ER);
+  imxrt_config_gpio(GPIO_ENET2_RX_ER);
 #  endif
 #endif
 

Reply via email to