ajuckler commented on code in PR #17264:
URL: https://github.com/apache/nuttx/pull/17264#discussion_r2484400784


##########
drivers/eeprom/i2c_xx24xx.c:
##########
@@ -779,14 +780,33 @@ static int ee24xx_ioctl(FAR struct file *filep, int cmd, 
unsigned long arg)
 {
   FAR struct ee24xx_dev_s *eedev;
   FAR struct inode        *inode = filep->f_inode;
-  int                      ret   = 0;
+  int                      ret   = -EINVAL;
 
   DEBUGASSERT(inode->i_private);
   eedev = inode->i_private;
-  UNUSED(eedev);
 
   switch (cmd)
     {
+      case EEPIOC_GEOMETRY:

Review Comment:
   Thank you, added in Documentation/components/drivers/block/eeprom.rst



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