xiaoxiang781216 commented on code in PR #20014:
URL: https://github.com/apache/nuttx/pull/20014#discussion_r3890138749


##########
boards/arm/stm32f1/stm32f103-minimum/src/stm32_w25.c:
##########
@@ -145,126 +146,136 @@ int stm32_w25initialize(int minor)
     }
 
 #ifdef CONFIG_STM32F103MINIMUM_FLASH_PART
-    {

Review Comment:
   do while(0);



##########
boards/arm/stm32f4/stm32f429i-disco/src/stm32_bringup.c:
##########
@@ -180,125 +180,136 @@ int stm32_bringup(void)
         }
 
 #ifdef CONFIG_STM32F429I_DISCO_FLASH_PART
-        {

Review Comment:
   let's change to do while(0)



##########
boards/arm/samd5e5/metro-m4/src/sam_smartfs.c:
##########
@@ -93,132 +93,143 @@ int sam_smartfs_initialize(void)
       return ret;
     }
 
-  #ifdef CONFIG_MTD_PARTITION
+#ifdef CONFIG_MTD_PARTITION
+{

Review Comment:
   ditto



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to