xiaoxiang781216 commented on code in PR #6965: URL: https://github.com/apache/incubator-nuttx/pull/6965#discussion_r988575943
########## drivers/mtd/smart.c: ########## @@ -4141,7 +4141,7 @@ static int smart_write_wearstatus(struct smart_struct_s *dev) #if defined(CONFIG_FS_PROCFS) && !defined(CONFIG_FS_PROCFS_EXCLUDE_SMARTFS) if (dev->blockerases > 0) { - *((uint32_t *) buffer) = dev->blockerases; + *((uint32_t *)buffer) = dev->blockerases; Review Comment: Done. ########## drivers/mtd/smart.c: ########## @@ -4500,14 +4500,14 @@ static int smart_validate_crc(FAR struct smart_struct_s *dev) /* Test 16-bit CRC */ - if (crc != *((uint16_t *) header->crc16)) + if (crc != *((uint16_t *)header->crc16)) 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