pkarashchenko commented on code in PR #12790:
URL: https://github.com/apache/nuttx/pull/12790#discussion_r1697428562


##########
fs/spiffs/src/spiffs_vfs.c:
##########
@@ -1187,7 +1187,10 @@ static int spiffs_fstat(FAR const struct file *filep, 
FAR struct stat *buf)
     }
 
   spiffs_unlock_volume(fs);
-  return spiffs_map_errno(ret);

Review Comment:
   What is the `ret` and returned value here? I was thinking maybe it's worth 
updating `spiffs_map_errno` instead of the current change (just an idea to 
consider)?



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