xiaoxiang781216 commented on code in PR #6965: URL: https://github.com/apache/incubator-nuttx/pull/6965#discussion_r988575795
########## drivers/mtd/smart.c: ########## @@ -3368,9 +3368,9 @@ static int smart_relocate_sector(FAR struct smart_struct_s *dev, #ifdef CONFIG_SMART_CRC_8 header->crc8 = smart_calc_sector_crc(dev); #elif defined(CONFIG_SMART_CRC_16) - *((uint16_t *) header->crc16) = smart_calc_sector_crc(dev); + *((uint16_t *)header->crc16) = smart_calc_sector_crc(dev); Review Comment: Done. ########## drivers/mtd/smart.c: ########## @@ -3368,9 +3368,9 @@ static int smart_relocate_sector(FAR struct smart_struct_s *dev, #ifdef CONFIG_SMART_CRC_8 header->crc8 = smart_calc_sector_crc(dev); #elif defined(CONFIG_SMART_CRC_16) - *((uint16_t *) header->crc16) = smart_calc_sector_crc(dev); + *((uint16_t *)header->crc16) = smart_calc_sector_crc(dev); #elif defined(CONFIG_SMART_CRC_32) - *((uint32_t *) header->crc32) = smart_calc_sector_crc(dev); + *((uint32_t *)header->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