tmedicci commented on code in PR #12790: URL: https://github.com/apache/nuttx/pull/12790#discussion_r1698329891
########## 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: It's defined [here](https://github.com/tmedicci/incubator-nuttx/blob/546dd1c4c4f2eb376ccc639dbf0b4d33346231e1/fs/spiffs/src/spiffs_vfs.c#L178) and it just discards SPIFFS internal errors (but it doesn't "normalize" the return values). Once it's used in other places in the code, I didn't want to mess with it. -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org