xiaoxiang781216 commented on a change in pull request #4166:
URL: https://github.com/apache/incubator-nuttx/pull/4166#discussion_r671688254
##########
File path: arch/xtensa/src/esp32/esp32_spiflash.c
##########
@@ -1933,6 +1934,15 @@ static int esp32_ioctl(FAR struct mtd_dev_s *dev, int
cmd,
}
break;
+ case MTDIOC_ERASESTATE:
+ {
+ FAR uint8_t *result = (uint8_t *)arg;
Review comment:
The cast need add FAR too:)
--
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]