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 86785257d254e537af2fc18b279833854a9233a0 Author: Alin Jerpelea <[email protected]> AuthorDate: Sat Nov 28 11:37:44 2026 +0100 fs: clean SPDX header fix warnings from ATR Signed-off-by: Alin Jerpelea <[email protected]> --- fs/nfs/nfs.h | 12 +++++------- fs/nfs/nfs_mount.h | 11 ++++------- fs/nfs/nfs_node.h | 11 ++++------- fs/nfs/nfs_proto.h | 11 ++++------- fs/nfs/nfs_vfsops.c | 12 +++++------- fs/nfs/rpc.h | 16 +++++----------- fs/nfs/rpc_clnt.c | 19 +++++++------------ fs/nfs/xdr_subs.h | 11 ++++------- fs/spiffs/src/spiffs.h | 4 ++-- fs/spiffs/src/spiffs_cache.c | 3 ++- fs/spiffs/src/spiffs_check.c | 4 ++-- fs/spiffs/src/spiffs_core.c | 3 ++- fs/spiffs/src/spiffs_core.h | 4 ++-- fs/spiffs/src/spiffs_gc.c | 4 ++-- fs/spiffs/src/spiffs_vfs.c | 4 ++-- fs/spiffs/src/spiffs_volume.c | 4 ++-- 16 files changed, 54 insertions(+), 79 deletions(-) diff --git a/fs/nfs/nfs.h b/fs/nfs/nfs.h index 9db53b6610a..24c37207ddd 100644 --- a/fs/nfs/nfs.h +++ b/fs/nfs/nfs.h @@ -2,16 +2,14 @@ * fs/nfs/nfs.h * * SPDX-License-Identifier: BSD-3-Clause - * SPDX-FileCopyrightText: 2012 Gregory Nutt. All rights reserved. - * SPDX-FileCopyrightText: 2012 Jose Pablo Rojas Vargas. All rights reserved. + * SPDX-FileCopyrightText: 2012 Gregory Nutt. + * SPDX-FileCopyrightText: 2012 Jose Pablo Rojas Vargas. + * SPDX-FileCopyrightText: 1995 The Regents of the University of California. + * SPDX-FileCopyrightText: 1993 The Regents of the University of California. + * SPDX-FileCopyrightText: 1989 The Regents of the University of California. * SPDX-FileContributor: Jose Pablo Rojas Vargas <[email protected]> * SPDX-FileContributor: Gregory Nutt <[email protected]> * - * Leveraged from OpenBSD: - * - * Copyright (c) 1989, 1993, 1995 - * The Regents of the University of California. All rights reserved. - * * This code is derived from software contributed to Berkeley by * Rick Macklem at The University of Guelph. * diff --git a/fs/nfs/nfs_mount.h b/fs/nfs/nfs_mount.h index cca54a52b45..2e2313badbc 100644 --- a/fs/nfs/nfs_mount.h +++ b/fs/nfs/nfs_mount.h @@ -2,16 +2,13 @@ * fs/nfs/nfs_mount.h * * SPDX-License-Identifier: BSD-3-Clause - * SPDX-FileCopyrightText: 2012 Gregory Nutt. All rights reserved. - * SPDX-FileCopyrightText: 2012 Jose Pablo Rojas Vargas. All rights reserved. + * SPDX-FileCopyrightText: 2012 Gregory Nutt. + * SPDX-FileCopyrightText: 2012 Jose Pablo Rojas Vargas. + * SPDX-FileCopyrightText: 1993 The Regents of the University of California. + * SPDX-FileCopyrightText: 1989 The Regents of the University of California. * SPDX-FileContributor: Jose Pablo Rojas Vargas <[email protected]> * SPDX-FileContributor: Gregory Nutt <[email protected]> * - * Leveraged from OpenBSD: - * - * Copyright (c) 1989, 1993 - * The Regents of the University of California. All rights reserved. - * * This code is derived from software contributed to Berkeley by * Rick Macklem at The University of Guelph. * diff --git a/fs/nfs/nfs_node.h b/fs/nfs/nfs_node.h index 58170e85926..afca4d867c8 100644 --- a/fs/nfs/nfs_node.h +++ b/fs/nfs/nfs_node.h @@ -2,16 +2,13 @@ * fs/nfs/nfs_node.h * * SPDX-License-Identifier: BSD-3-Clause - * SPDX-FileCopyrightText: 2012 Gregory Nutt. All rights reserved. - * SPDX-FileCopyrightText: 2012 Jose Pablo Rojas Vargas. All rights reserved. + * SPDX-FileCopyrightText: 2012 Gregory Nutt. + * SPDX-FileCopyrightText: 2012 Jose Pablo Rojas Vargas. + * SPDX-FileCopyrightText: 1993 The Regents of the University of California. + * SPDX-FileCopyrightText: 1989 The Regents of the University of California. * SPDX-FileContributor: Jose Pablo Rojas Vargas <[email protected]> * SPDX-FileContributor: Gregory Nutt <[email protected]> * - * Leveraged from OpenBSD: - * - * Copyright (c) 1989, 1993 - * The Regents of the University of California. All rights reserved. - * * This code is derived from software contributed to Berkeley by * Rick Macklem at The University of Guelph. * diff --git a/fs/nfs/nfs_proto.h b/fs/nfs/nfs_proto.h index 165cd852696..863cd7d6f52 100644 --- a/fs/nfs/nfs_proto.h +++ b/fs/nfs/nfs_proto.h @@ -2,16 +2,13 @@ * fs/nfs/nfs_proto.h * * SPDX-License-Identifier: BSD-3-Clause - * SPDX-FileCopyrightText: 2012 Gregory Nutt. All rights reserved. - * SPDX-FileCopyrightText: 2012 Jose Pablo Rojas Vargas. All rights reserved. + * SPDX-FileCopyrightText: 2012 Gregory Nutt. + * SPDX-FileCopyrightText: 2012 Jose Pablo Rojas Vargas. + * SPDX-FileCopyrightText: 1993 The Regents of the University of California. + * SPDX-FileCopyrightText: 1989 The Regents of the University of California. * SPDX-FileContributor: Jose Pablo Rojas Vargas <[email protected]> * SPDX-FileContributor: Gregory Nutt <[email protected]> * - * Leveraged from OpenBSD: - * - * Copyright (c) 1989, 1993 - * The Regents of the University of California. All rights reserved. - * * This code is derived from software contributed to Berkeley by * Rick Macklem at The University of Guelph. * diff --git a/fs/nfs/nfs_vfsops.c b/fs/nfs/nfs_vfsops.c index 4837adb2717..fb22f49d2b2 100644 --- a/fs/nfs/nfs_vfsops.c +++ b/fs/nfs/nfs_vfsops.c @@ -2,16 +2,14 @@ * fs/nfs/nfs_vfsops.c * * SPDX-License-Identifier: BSD-3-Clause - * SPDX-FileCopyrightText: 2012-2018 Gregory Nutt. All rights reserved. - * SPDX-FileCopyrightText: 2012 Jose Pablo Rojas Vargas. All rights reserved. + * SPDX-FileCopyrightText: 2012-2018 Gregory Nutt. + * SPDX-FileCopyrightText: 2012 Jose Pablo Rojas Vargas. + * SPDX-FileCopyrightText: 1995 The Regents of the University of California. + * SPDX-FileCopyrightText: 1993 The Regents of the University of California. + * SPDX-FileCopyrightText: 1989 The Regents of the University of California. * SPDX-FileContributor: Jose Pablo Rojas Vargas <[email protected]> * SPDX-FileContributor: Gregory Nutt <[email protected]> * - * Leveraged from OpenBSD: - * - * Copyright (c) 1989, 1993, 1995 - * The Regents of the University of California. All rights reserved. - * * This code is derived from software contributed to Berkeley by * Rick Macklem at The University of Guelph. * diff --git a/fs/nfs/rpc.h b/fs/nfs/rpc.h index 92b358f1512..8727f687848 100644 --- a/fs/nfs/rpc.h +++ b/fs/nfs/rpc.h @@ -2,17 +2,14 @@ * fs/nfs/rpc.h * * SPDX-License-Identifier: BSD-3-Clause - * SPDX-FileCopyrightText: 2012 Gregory Nutt. All rights reserved. - * SPDX-FileCopyrightText: 2012 Jose Pablo Rojas Vargas. All rights reserved. + * SPDX-FileCopyrightText: 2012 Gregory Nutt. + * SPDX-FileCopyrightText: 2012 Jose Pablo Rojas Vargas. + * SPDX-FileCopyrightText: 2003 the regents of the university of michigan + * SPDX-FileCopyrightText: 1993 The Regents of the University of California. + * SPDX-FileCopyrightText: 1989 The Regents of the University of California. * SPDX-FileContributor: Jose Pablo Rojas Vargas <[email protected]> * SPDX-FileContributor: Gregory Nutt <[email protected]> * - * Leveraged from OpenBSD: - * - * copyright (c) 2003 - * the regents of the university of michigan - * all rights reserved - * * permission is granted to use, copy, create derivative works and * redistribute this software and such derivative works for any purpose, so * long as the name of the university of michigan is not used in any @@ -33,9 +30,6 @@ * even if it has been or is hereafter advised of the possibility of such * damages. * - * Copyright (c) 1989, 1993 - * The Regents of the University of California. All rights reserved. - * * This code is derived from software contributed to Berkeley by * Rick Macklem at The University of Guelph. * diff --git a/fs/nfs/rpc_clnt.c b/fs/nfs/rpc_clnt.c index 4acd1b2a03e..e8dd3210309 100644 --- a/fs/nfs/rpc_clnt.c +++ b/fs/nfs/rpc_clnt.c @@ -4,18 +4,16 @@ * SPDX-License-Identifier: BSD-3-Clause * SPDX-FileCopyrightText: 2012-2018 Gregory Nutt. All rights reserved. * SPDX-FileCopyrightText: 2012 Jose Pablo Rojas Vargas. All rights reserved. + * SPDX-FileCopyrightText: 2004 The Regents of the University of Michigan. + * SPDX-FileCopyrightText: 2004 Weston Andros Adamson <[email protected]>. + * SPDX-FileCopyrightText: 2004 Marius Aamodt Eriksen <[email protected]>. + * SPDX-FileCopyrightText: 1995 The Regents of the University of California. + * SPDX-FileCopyrightText: 1993 The Regents of the University of California. + * SPDX-FileCopyrightText: 1991 The Regents of the University of California. + * SPDX-FileCopyrightText: 1989 The Regents of the University of California. * SPDX-FileContributor: Jose Pablo Rojas Vargas <[email protected]> * SPDX-FileContributor: Gregory Nutt <[email protected]> * - * Leveraged from OpenBSD: - * - * Copyright (c) 2004 The Regents of the University of Michigan. - * All rights reserved. - * - * Copyright (c) 2004 Weston Andros Adamson <[email protected]>. - * Copyright (c) 2004 Marius Aamodt Eriksen <[email protected]>. - * All rights reserved. - * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: @@ -41,9 +39,6 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * Copyright (c) 1989, 1991, 1993, 1995 The Regents of the University of - * California. All rights reserved. - * * This code is derived from software contributed to Berkeley by Rick Macklem * at The University of Guelph. * diff --git a/fs/nfs/xdr_subs.h b/fs/nfs/xdr_subs.h index 78838af1289..fc3525eb4f8 100644 --- a/fs/nfs/xdr_subs.h +++ b/fs/nfs/xdr_subs.h @@ -2,16 +2,13 @@ * fs/nfs/xdr_subs.h * * SPDX-License-Identifier: BSD-3-Clause - * SPDX-FileCopyrightText: 2012 Gregory Nutt. All rights reserved. - * SPDX-FileCopyrightText: 2012 Jose Pablo Rojas Vargas. All rights reserved. + * SPDX-FileCopyrightText: 2012 Gregory Nutt. + * SPDX-FileCopyrightText: 2012 Jose Pablo Rojas Vargas. + * SPDX-FileCopyrightText: 1993 The Regents of the University of California. + * SPDX-FileCopyrightText: 1989 The Regents of the University of California. * SPDX-FileContributor: Jose Pablo Rojas Vargas <[email protected]> * SPDX-FileContributor: Gregory Nutt <[email protected]> * - * Leveraged from OpenBSD: - * - * Copyright (c) 1989, 1993 - * The Regents of the University of California. All rights reserved. - * * This code is derived from software contributed to Berkeley by * Rick Macklem at The University of Guelph. * diff --git a/fs/spiffs/src/spiffs.h b/fs/spiffs/src/spiffs.h index 09ac969e892..b7f96d2caf6 100644 --- a/fs/spiffs/src/spiffs.h +++ b/fs/spiffs/src/spiffs.h @@ -3,13 +3,13 @@ * * SPDX-License-Identifier: BSD-3-Clause * SPDX-FileCopyrightText: 2018 Gregory Nutt + * SPDX-FileCopyrightText: 2013-2017 Peter Andersson + * ([email protected]) * * This is a port of version 0.3.7 of SPIFFS by Peter Andersion. That * version was originally released under the MIT license but is here re- * released under the NuttX BSD license. * - * Copyright (c) 2013-2017 Peter Andersson ([email protected]) - * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: diff --git a/fs/spiffs/src/spiffs_cache.c b/fs/spiffs/src/spiffs_cache.c index f076badc2aa..46408965de8 100644 --- a/fs/spiffs/src/spiffs_cache.c +++ b/fs/spiffs/src/spiffs_cache.c @@ -3,12 +3,13 @@ * * SPDX-License-Identifier: BSD-3-Clause * SPDX-FileCopyrightText: 2018 Gregory Nutt + * SPDX-FileCopyrightText: 2013-2017 Peter Andersson + * ([email protected]) * * This is a port of version 0.3.7 of SPIFFS by Peter Andersion. That * version was originally released under the MIT license but is here re- * released under the NuttX BSD license. * - * Copyright (c) 2013-2017 Peter Andersson ([email protected]) * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/fs/spiffs/src/spiffs_check.c b/fs/spiffs/src/spiffs_check.c index 3b091e792cc..e9e9d901f3a 100644 --- a/fs/spiffs/src/spiffs_check.c +++ b/fs/spiffs/src/spiffs_check.c @@ -3,13 +3,13 @@ * * SPDX-License-Identifier: BSD-3-Clause * SPDX-FileCopyrightText: 2018 Gregory Nutt + * SPDX-FileCopyrightText: 2013-2017 Peter Andersson + * ([email protected]) * * This is a port of version 0.3.7 of SPIFFS by Peter Andersion. That * version was originally released under the MIT license but is here re- * released under the NuttX BSD license. * - * Copyright (c) 2013-2017 Peter Andersson ([email protected]) - * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: diff --git a/fs/spiffs/src/spiffs_core.c b/fs/spiffs/src/spiffs_core.c index c40757c87b5..2ddcf3c122b 100644 --- a/fs/spiffs/src/spiffs_core.c +++ b/fs/spiffs/src/spiffs_core.c @@ -3,12 +3,13 @@ * * SPDX-License-Identifier: BSD-3-Clause * SPDX-FileCopyrightText: 2018 Gregory Nutt + * SPDX-FileCopyrightText: 2013-2017 Peter Andersson + * ([email protected]) * * This is a port of version 0.3.7 of SPIFFS by Peter Andersion. That * version was originally released under the MIT license but is here re- * released under the NuttX BSD license. * - * Copyright (c) 2013-2017 Peter Andersson ([email protected]) * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/fs/spiffs/src/spiffs_core.h b/fs/spiffs/src/spiffs_core.h index a83705a9b65..e0174dd40e8 100644 --- a/fs/spiffs/src/spiffs_core.h +++ b/fs/spiffs/src/spiffs_core.h @@ -3,13 +3,13 @@ * * SPDX-License-Identifier: BSD-3-Clause * SPDX-FileCopyrightText: 2018 Gregory Nutt + * SPDX-FileCopyrightText: 2013-2017 Peter Andersson + * ([email protected]) * * This is a port of version 0.3.7 of SPIFFS by Peter Andersion. That * version was originally released under the MIT license but is here re- * released under the NuttX BSD license. * - * Copyright (c) 2013-2017 Peter Andersson ([email protected]) - * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: diff --git a/fs/spiffs/src/spiffs_gc.c b/fs/spiffs/src/spiffs_gc.c index 19917c43687..27939b94738 100644 --- a/fs/spiffs/src/spiffs_gc.c +++ b/fs/spiffs/src/spiffs_gc.c @@ -3,13 +3,13 @@ * * SPDX-License-Identifier: BSD-3-Clause * SPDX-FileCopyrightText: 2018 Gregory Nutt + * SPDX-FileCopyrightText: 2013-2017 Peter Andersson + * ([email protected]) * * This is a port of version 0.3.7 of SPIFFS by Peter Andersion. That * version was originally released under the MIT license but is here re- * released under the NuttX BSD license. * - * Copyright (c) 2013-2017 Peter Andersson ([email protected]) - * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: diff --git a/fs/spiffs/src/spiffs_vfs.c b/fs/spiffs/src/spiffs_vfs.c index 6059bc2e8e9..cbafb8d66aa 100644 --- a/fs/spiffs/src/spiffs_vfs.c +++ b/fs/spiffs/src/spiffs_vfs.c @@ -3,12 +3,12 @@ * * SPDX-License-Identifier: BSD-3-Clause * SPDX-FileCopyrightText: 2018 Gregory Nutt + * SPDX-FileCopyrightText: 2013-2017 Peter Andersson + * ([email protected]) * * Includes logic taken from 0.3.7 of SPIFFS by Peter Andersion. That * version was originally released under the MIT license. * - * Copyright (c) 2013-2017 Peter Andersson ([email protected]) - * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: diff --git a/fs/spiffs/src/spiffs_volume.c b/fs/spiffs/src/spiffs_volume.c index c2378f2703c..52f1daa9a73 100644 --- a/fs/spiffs/src/spiffs_volume.c +++ b/fs/spiffs/src/spiffs_volume.c @@ -3,13 +3,13 @@ * * SPDX-License-Identifier: BSD-3-Clause * SPDX-FileCopyrightText: 2018 Gregory Nutt + * SPDX-FileCopyrightText: 2013-2017 Peter Andersson + * ([email protected]) * * This is a port of version 0.3.7 of SPIFFS by Peter Andersion. That * version was originally released under the MIT license but is here re- * released under the NuttX BSD license. * - * Copyright (c) 2013-2017 Peter Andersson ([email protected]) - * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met:
