This is an automated email from the ASF dual-hosted git repository.

casaroli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 0195ed273cacc304483d4a4bc7b932a9c4c5a37e
Author: p-szafonimateusz <[email protected]>
AuthorDate: Tue Oct 27 11:56:50 2026 +0100

    net/can/can_sendmsg.c: Fix nxstyle issues.
    
    Add the missing blank lines after declarations reported by
    tools/nxstyle.c.  No functional change.
    
    Assisted-by: Claude:claude-opus-5-5
    Signed-off-by: p-szafonimateusz <[email protected]>
---
 net/can/can_sendmsg.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net/can/can_sendmsg.c b/net/can/can_sendmsg.c
index ffa08e39947..5959ba3ad62 100644
--- a/net/can/can_sendmsg.c
+++ b/net/can/can_sendmsg.c
@@ -112,6 +112,7 @@ static uint32_t psock_send_eventhandler(FAR struct 
net_driver_s *dev,
 
           int ret = devif_send(dev, pstate->snd_buffer,
                                pstate->snd_buflen + pstate->pr_msglen, 0);
+
           dev->d_len = dev->d_sndlen - pstate->pr_msglen;
           if (ret <= 0)
             {
@@ -237,6 +238,7 @@ ssize_t can_sendmsg(FAR struct socket *psock, FAR const 
struct msghdr *msg,
   if (msg->msg_controllen > sizeof(struct cmsghdr))
     {
       FAR struct cmsghdr *cmsg = CMSG_FIRSTHDR(msg);
+
       if (_SO_GETOPT(conn->sconn.s_options, CAN_RAW_TX_DEADLINE) &&
           cmsg->cmsg_level == SOL_CAN_RAW &&
           cmsg->cmsg_type == CAN_RAW_TX_DEADLINE &&

Reply via email to