You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/03/29 13:17:29 UTC

[GitHub] [incubator-nuttx] pkarashchenko commented on pull request #5844: rpmsgfs: do NOT access the pointer when do remote ioctl

pkarashchenko commented on pull request #5844:
URL: https://github.com/apache/incubator-nuttx/pull/5844#issuecomment-1081860088


   ```
   rpmsgfs/rpmsgfs_client.c: In function 'rpmsgfs_ioctl_handler':
   Error: rpmsgfs/rpmsgfs_client.c:176:3: error: implicit declaration of function 'rpmsg_post' [-Werror=implicit-function-declaration]
     176 |   rpmsg_post(ept, &cookie->sem);
         |   ^~~~~~~~~~
   rpmsgfs/rpmsgfs_client.c: In function 'rpmsgfs_client_ioctl':
   Error: rpmsgfs/rpmsgfs_client.c:506:9: error: implicit declaration of function 'rpmsgfs_get_tx_payload_buffer'; did you mean 'rpmsg_get_tx_payload_buffer'? [-Werror=implicit-function-declaration]
     506 |   msg = rpmsgfs_get_tx_payload_buffer(priv, &space);
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |         rpmsg_get_tx_payload_buffer
   Error: rpmsgfs/rpmsgfs_client.c:506:7: error: assignment to 'struct rpmsgfs_ioctl_s *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
     506 |   msg = rpmsgfs_get_tx_payload_buffer(priv, &space);
         |       ^
   ```
   Please fix the build


-- 
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-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org