michallenc commented on code in PR #17775:
URL: https://github.com/apache/nuttx/pull/17775#discussion_r2664903092
##########
net/can/can_callback.c:
##########
@@ -67,8 +67,8 @@ can_data_event(FAR struct net_driver_s *dev, FAR struct
can_conn_s *conn,
uint32_t flags)
{
int buflen = dev->d_len;
- uint16_t recvlen;
- uint32_t ret;
+ int recvlen;
+ uint16_t ret;
Review Comment:
`ret` is now `uint16_t`, but the function is still declared as `static
inline uint32_t`.
--
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]