wangchdo commented on code in PR #17520:
URL: https://github.com/apache/nuttx/pull/17520#discussion_r2622290105
##########
net/pkt/pkt_recvmsg.c:
##########
@@ -474,7 +474,7 @@ ssize_t pkt_recvmsg(FAR struct socket *psock, FAR struct
msghdr *msg,
if (psock->s_type != SOCK_RAW)
{
nerr("ERROR: Unsupported socket type: %d\n", psock->s_type);
- ret = -ENOSYS;
+ return -ENOSYS;
Review Comment:
This is not just a Coverity issue. Your update has altered the behavior of
this Func. You need to provide a more detailed analysis to explain the impact.
--
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]