This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 93fb6a1885e63c0e48465a3c1b68a7acc47675aa Author: raiden00pl <[email protected]> AuthorDate: Sat Oct 24 10:52:59 2026 +0200 net/sixlowpan: fix nxstyle errors in sixlowpan.h and sixlowpan_framelist.c Fix the nxstyle errors in the files changed by the next commits. The SICS SPDX-FileCopyrightText line was longer than a line, it now has the year, holder form of the other SPDX copyright lines. Assisted-by: Claude Code Signed-off-by: raiden00pl <[email protected]> --- include/nuttx/net/sixlowpan.h | 2 +- net/sixlowpan/sixlowpan_framelist.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/nuttx/net/sixlowpan.h b/include/nuttx/net/sixlowpan.h index e4b71f673a8..7c8475313f2 100644 --- a/include/nuttx/net/sixlowpan.h +++ b/include/nuttx/net/sixlowpan.h @@ -3,7 +3,7 @@ * * SPDX-License-Identifier: BSD-3-Clause * SPDX-FileCopyrightText: 2017, Gregory Nutt, all rights reserved - * SPDX-FileCopyrightText: Copyright (c) 2008, Swedish Institute of Computer Science. + * SPDX-FileCopyrightText: 2008, Swedish Institute of Computer Science. * SPDX-FileContributor: Gregory Nutt <[email protected]> * SPDX-FileContributor: Adam Dunkels <[email protected]> * SPDX-FileContributor: Nicolas Tsiftes <[email protected]> diff --git a/net/sixlowpan/sixlowpan_framelist.c b/net/sixlowpan/sixlowpan_framelist.c index 759baad8560..6ee5693d2b7 100644 --- a/net/sixlowpan/sixlowpan_framelist.c +++ b/net/sixlowpan/sixlowpan_framelist.c @@ -585,6 +585,7 @@ int sixlowpan_queue_frames(FAR struct radio_driver_s *radio, if (protosize > 0) { FAR uint8_t *src = (FAR uint8_t *)ipv6 + IPv6_HDRLEN; + memcpy(fptr + g_frame_hdrlen, src, protosize); } @@ -737,6 +738,7 @@ int sixlowpan_queue_frames(FAR struct radio_driver_s *radio, if (protosize > 0) { FAR uint8_t *src = (FAR uint8_t *)ipv6 + IPv6_HDRLEN; + memcpy(fptr + g_frame_hdrlen, src, protosize); }
