xiaoxiang781216 commented on code in PR #6965: URL: https://github.com/apache/incubator-nuttx/pull/6965#discussion_r988572319
########## drivers/mtd/smart.c: ########## @@ -3207,9 +3207,9 @@ static inline int smart_llformat(FAR struct smart_struct_s *dev, #ifdef CONFIG_SMART_CRC_8 sectorheader->crc8 = smart_calc_sector_crc(dev); #elif defined(CONFIG_SMART_CRC_16) - *((uint16_t *) sectorheader->crc16) = smart_calc_sector_crc(dev); + *((uint16_t *)sectorheader->crc16) = smart_calc_sector_crc(dev); Review Comment: Done. ########## drivers/mtd/smart.c: ########## @@ -3207,9 +3207,9 @@ static inline int smart_llformat(FAR struct smart_struct_s *dev, #ifdef CONFIG_SMART_CRC_8 sectorheader->crc8 = smart_calc_sector_crc(dev); #elif defined(CONFIG_SMART_CRC_16) - *((uint16_t *) sectorheader->crc16) = smart_calc_sector_crc(dev); + *((uint16_t *)sectorheader->crc16) = smart_calc_sector_crc(dev); #elif defined(CONFIG_SMART_CRC_32) - *((uint32_t *) sectorheader->crc32) = smart_calc_sector_crc(dev); + *((uint32_t *)sectorheader->crc32) = smart_calc_sector_crc(dev); Review Comment: Done. -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org