Swatantra-66 commented on PR #20820:
URL: https://github.com/apache/nuttx/pull/20820#issuecomment-6381088809

   Done, updated both `fs_read.c` and `fs_write.c` 
   
   Removed `(ssize_t)` casts on `file_get()` in `nx_write()` and `nx_read()`.
   Simplified the `#ifdef CONFIG_FS_UIO` structure in `file_writev()` and 
`file_readv()` to avoid duplicating the fallback blocks.
   Merged `inode = filep->f_inode` and `ret = -EBADF` initializations directly 
into variable declarations in `file_write()` and `file_read()`


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