gustavonihei commented on a change in pull request #4166:
URL: https://github.com/apache/incubator-nuttx/pull/4166#discussion_r671687312



##########
File path: drivers/mtd/filemtd.c
##########
@@ -449,6 +449,15 @@ static int filemtd_ioctl(FAR struct mtd_dev_s *dev, int 
cmd,
         }
         break;
 
+      case MTDIOC_ERASESTATE:
+        {
+          uint8_t *result = (uint8_t *)arg;

Review comment:
       You're right, I missed that. I've also added to chip-specific drivers, 
since they all follow the pattern of adding FAR to every pointer to data.




-- 
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