MTres19 commented on a change in pull request #2664:
URL: https://github.com/apache/incubator-nuttx/pull/2664#discussion_r555871497
##########
File path: drivers/can/can.c
##########
@@ -916,12 +918,15 @@ static ssize_t can_write(FAR struct file *filep, FAR
const char *buffer,
*
****************************************************************************/
-static inline ssize_t can_rtrread(FAR struct can_dev_s *dev,
- FAR struct canioc_rtr_s *rtr)
+static inline ssize_t can_rtrread(FAR struct file *filep,
+ FAR struct canioc_rtr_s *request)
{
- FAR struct can_rtrwait_s *wait = NULL;
+ FAR struct can_dev_s *dev = filep->f_inode->i_private;
+ FAR struct can_rtrwait_s *wait = NULL;
Review comment:
Whoops, this time it's really fixed I think @xiaoxiang781216. Thanks.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]