linguini1 commented on code in PR #17264:
URL: https://github.com/apache/nuttx/pull/17264#discussion_r2477904259
##########
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:
Please include documentation with your PR to indicate this new IOCTL.
--
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]