JianyuWang0623 opened a new pull request, #14702:
URL: https://github.com/apache/nuttx/pull/14702

   ## Summary
   fs/vfs: Fix initialization of `g_pseudofile_ops`
   
   - Config: sim:nsh
   - Log
   ```
     CC:  driver/fs_registerblockdriver.c vfs/fs_pseudofile.c:99:3: warning: 
initialization of ‘ssize_t (*)(struct file *, const struct uio *)’ {aka ‘long 
int (*)(struct file *, const struct uio *)’} from incompatible pointer type 
‘int (*)(struct inode *)’ [-Wincompatible-pointer-types]
         99 |   pseudofile_unlink,   /* unlink */
            |   ^~~~~~~~~~~~~~~~~
     vfs/fs_pseudofile.c:99:3: note: (near initialization for 
‘g_pseudofile_ops.readv’)
   ```
   
   Related: https://github.com/apache/nuttx/pull/13498
   
   ## Impact
   fs/vfs/fs_pseudofile.c
   
   ## Testing
   1. Selftest: sim:nsh
   2. NuttX CI
   
   
   


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