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 dd255955560e3a0f4076ac3a97b65445f2009109
Author: Marco Casaroli <[email protected]>
AuthorDate: Tue Oct 27 20:29:33 2026 +0100

    arch, include, libs: Write each SPDX copyright notice on one line.
    
    An SPDX tag and its value are on one line: the tools that read SPDX
    tags take the value up to the end of the line.  12 copyright notices
    continued on the next line, so these tools read only a part of them,
    for example "Gregory Nutt. All rights" without "reserved.", or an empty
    value in lzf_c.c.
    
    Join each of these notices into one line.  The text of the notices does
    not change.  nxstyle does not report a long SPDX line.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <[email protected]>
---
 arch/arm/src/armv7-m/arm_stackcheck.c | 3 +--
 arch/arm/src/armv8-m/arm_stackcheck.c | 3 +--
 arch/arm/src/lc823450/lc823450_sdc.c  | 3 +--
 include/nuttx/net/can.h               | 3 +--
 include/nuttx/net/ethernet.h          | 3 +--
 include/nuttx/net/icmp.h              | 3 +--
 include/nuttx/net/netconfig.h         | 3 +--
 include/sys/ttydefaults.h             | 3 +--
 libs/libc/lzf/lzf.h                   | 3 +--
 libs/libc/lzf/lzf_c.c                 | 3 +--
 libs/libc/lzf/lzf_d.c                 | 3 +--
 libs/libc/search/hash_func.c          | 3 +--
 12 files changed, 12 insertions(+), 24 deletions(-)

diff --git a/arch/arm/src/armv7-m/arm_stackcheck.c 
b/arch/arm/src/armv7-m/arm_stackcheck.c
index eee129c47b7..401964a35cf 100644
--- a/arch/arm/src/armv7-m/arm_stackcheck.c
+++ b/arch/arm/src/armv7-m/arm_stackcheck.c
@@ -2,8 +2,7 @@
  * arch/arm/src/armv7-m/arm_stackcheck.c
  *
  * SPDX-License-Identifier: BSD-3-Clause
- * SPDX-FileCopyrightText: 2013, 2014 PX4 Development Team.
- * All rights reserved.
+ * SPDX-FileCopyrightText: 2013, 2014 PX4 Development Team. All rights 
reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
diff --git a/arch/arm/src/armv8-m/arm_stackcheck.c 
b/arch/arm/src/armv8-m/arm_stackcheck.c
index a1c03f86b4b..26d79b0eacd 100644
--- a/arch/arm/src/armv8-m/arm_stackcheck.c
+++ b/arch/arm/src/armv8-m/arm_stackcheck.c
@@ -2,8 +2,7 @@
  * arch/arm/src/armv8-m/arm_stackcheck.c
  *
  * SPDX-License-Identifier: BSD-3-Clause
- * SPDX-FileCopyrightText: 2013, 2014 PX4 Development Team.
- * All rights reserved.
+ * SPDX-FileCopyrightText: 2013, 2014 PX4 Development Team. All rights 
reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
diff --git a/arch/arm/src/lc823450/lc823450_sdc.c 
b/arch/arm/src/lc823450/lc823450_sdc.c
index 6447e3dbeae..0c0860b1a3f 100644
--- a/arch/arm/src/lc823450/lc823450_sdc.c
+++ b/arch/arm/src/lc823450/lc823450_sdc.c
@@ -2,8 +2,7 @@
  * arch/arm/src/lc823450/lc823450_sdc.c
  *
  * SPDX-License-Identifier: BSD-3-Clause
- * SPDX-FileCopyrightText: 2014,2015,2016,2017 Sony Video & Sound
- * Products Inc.
+ * SPDX-FileCopyrightText: 2014,2015,2016,2017 Sony Video & Sound Products Inc.
  * SPDX-FileCopyrightText: 2014-2015 ON Semiconductor. All rights reserved.
  * SPDX-FileContributor: Masayuki Ishikawa <[email protected]>
  * SPDX-FileContributor: Masatoshi Tateishi <[email protected]>
diff --git a/include/nuttx/net/can.h b/include/nuttx/net/can.h
index 00c6db1ab76..b4240d26ac9 100644
--- a/include/nuttx/net/can.h
+++ b/include/nuttx/net/can.h
@@ -2,8 +2,7 @@
  * include/nuttx/net/can.h
  *
  * SPDX-License-Identifier: BSD-3-Clause
- * SPDX-FileCopyrightText: 2007, 2009-2012, 2015 Gregory Nutt. All
- * rights reserved.
+ * SPDX-FileCopyrightText: 2007, 2009-2012, 2015 Gregory Nutt. All rights 
reserved.
  * SPDX-FileCopyrightText: 2001-2003, Adam Dunkels. All rights reserved.
  * SPDX-FileContributor: Gregory Nutt <[email protected]>
  * SPDX-FileContributor: Adam Dunkels <[email protected]>
diff --git a/include/nuttx/net/ethernet.h b/include/nuttx/net/ethernet.h
index 1d1454f5176..55add2af07d 100644
--- a/include/nuttx/net/ethernet.h
+++ b/include/nuttx/net/ethernet.h
@@ -2,8 +2,7 @@
  * include/nuttx/net/ethernet.h
  *
  * SPDX-License-Identifier: BSD-3-Clause
- * SPDX-FileCopyrightText: 2007, 2009-2012, 2015 Gregory Nutt. All rights
- *                         reserved.
+ * SPDX-FileCopyrightText: 2007, 2009-2012, 2015 Gregory Nutt. All rights 
reserved.
  * SPDX-FileCopyrightText: 2001-2003, Adam Dunkels. All rights reserved.
  * SPDX-FileContributor: Gregory Nutt <[email protected]>
  * SPDX-FileContributor: Adam Dunkels <[email protected]>
diff --git a/include/nuttx/net/icmp.h b/include/nuttx/net/icmp.h
index 2a61800d5df..2a87cc69bf5 100644
--- a/include/nuttx/net/icmp.h
+++ b/include/nuttx/net/icmp.h
@@ -2,8 +2,7 @@
  * include/nuttx/net/icmp.h
  *
  * SPDX-License-Identifier: BSD-3-Clause
- * SPDX-FileCopyrightText: 2007-2009, 2012, 2014 Gregory Nutt. All rights
- *                         reserved.
+ * SPDX-FileCopyrightText: 2007-2009, 2012, 2014 Gregory Nutt. All rights 
reserved.
  * SPDX-FileCopyrightText: 2001-2003, Adam Dunkels. All rights reserved.
  * SPDX-FileContributor: Gregory Nutt <[email protected]>
  * SPDX-FileContributor: Adam Dunkels <[email protected]>
diff --git a/include/nuttx/net/netconfig.h b/include/nuttx/net/netconfig.h
index 0a34801ab27..77068ac4962 100644
--- a/include/nuttx/net/netconfig.h
+++ b/include/nuttx/net/netconfig.h
@@ -2,8 +2,7 @@
  * include/nuttx/net/netconfig.h
  *
  * SPDX-License-Identifier: BSD-3-Clause
- * SPDX-FileCopyrightText: 2007, 2011, 2014-2015, 2017-2019 Gregory Nutt.
- * All rights reserved.
+ * SPDX-FileCopyrightText: 2007, 2011, 2014-2015, 2017-2019 Gregory Nutt. All 
rights reserved.
  * SPDX-FileCopyrightText: 2001-2003, Adam Dunkels. All rights reserved.
  * SPDX-FileContributor: Gregory Nutt <[email protected]>
  * SPDX-FileContributor: Adam Dunkels <[email protected]>
diff --git a/include/sys/ttydefaults.h b/include/sys/ttydefaults.h
index 0593188a343..c3554e82578 100644
--- a/include/sys/ttydefaults.h
+++ b/include/sys/ttydefaults.h
@@ -2,8 +2,7 @@
  * include/sys/ttydefaults.h
  *
  * SPDX-License-Identifier: BSD-3-Clause
- * SPDX-FileCopyrightText: 1982, 1986, 1993 The Regents of the University of
- *   California.  All rights reserved.
+ * SPDX-FileCopyrightText: 1982, 1986, 1993 The Regents of the University of 
California.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
diff --git a/libs/libc/lzf/lzf.h b/libs/libc/lzf/lzf.h
index e3dda7421cc..fa911df6845 100644
--- a/libs/libc/lzf/lzf.h
+++ b/libs/libc/lzf/lzf.h
@@ -2,8 +2,7 @@
  * libs/libc/lzf/lzf.h
  *
  * SPDX-License-Identifier: BSD-2-Clause
- * SPDX-FileCopyrightText: 2000-2007 Marc Alexander Lehmann
- *   <[email protected]>
+ * SPDX-FileCopyrightText: 2000-2007 Marc Alexander Lehmann 
<[email protected]>
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are
diff --git a/libs/libc/lzf/lzf_c.c b/libs/libc/lzf/lzf_c.c
index 5a552fa3e89..1527bdcdf43 100644
--- a/libs/libc/lzf/lzf_c.c
+++ b/libs/libc/lzf/lzf_c.c
@@ -2,8 +2,7 @@
  * libs/libc/lzf/lzf_c.c
  *
  * SPDX-License-Identifier: BSD-2-Clause
- * SPDX-FileCopyrightText:
- *  2000-2010 Marc Alexander Lehmann <[email protected]>
+ * SPDX-FileCopyrightText: 2000-2010 Marc Alexander Lehmann 
<[email protected]>
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
diff --git a/libs/libc/lzf/lzf_d.c b/libs/libc/lzf/lzf_d.c
index edc83fca50a..5bd34812cec 100644
--- a/libs/libc/lzf/lzf_d.c
+++ b/libs/libc/lzf/lzf_d.c
@@ -2,8 +2,7 @@
  * libs/libc/lzf/lzf_d.c
  *
  * SPDX-License-Identifier: BSD-2-Clause
- * SPDX-FileCopyrightText: 2000-2010 Marc Alexander Lehmann
- *   <[email protected]>
+ * SPDX-FileCopyrightText: 2000-2010 Marc Alexander Lehmann 
<[email protected]>
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are
diff --git a/libs/libc/search/hash_func.c b/libs/libc/search/hash_func.c
index 8383ac47a03..ed4df891a4b 100644
--- a/libs/libc/search/hash_func.c
+++ b/libs/libc/search/hash_func.c
@@ -2,8 +2,7 @@
  * libs/libc/search/hash_func.c
  *
  * SPDX-License-Identifier: BSD-3-Clause-UC
- * SPDX-FileCopyrightText: 1990, 1993 The Regents of the University of
- *   California.
+ * SPDX-FileCopyrightText: 1990, 1993 The Regents of the University of 
California.
  *
  * This code is derived from software contributed to Berkeley by
  * Margo Seltzer.

Reply via email to