net: migrate to SPDX identifier

Most tools used for compliance and SBOM generation use SPDX identifiers
This change brings us a step closer to an easy SBOM generation.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea
2024-09-11 14:39:39 +02:00
committed by Xiang Xiao
parent 881cd3f7db
commit 67d02a45eb
431 changed files with 862 additions and 32 deletions
+2
View File
@@ -1,6 +1,8 @@
# ##############################################################################
# net/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
+2
View File
@@ -1,6 +1,8 @@
############################################################################
# net/Makefile
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
# ##############################################################################
# net/arp/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
+2
View File
@@ -1,6 +1,8 @@
############################################################################
# net/arp/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/arp/arp.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/arp/arp_acd.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/arp/arp_dump.c
*
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (C) 2007-2011, 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/arp/arp_format.c
*
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (C) 2007-2011, 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/arp/arp_input.c
*
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (C) 2007-2011, 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/arp/arp_ipin.c
*
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (C) 2007-2011, 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/arp/arp_notify.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/arp/arp_out.c
*
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (C) 2007-2011, 2014-2015, 2017-2018 Gregory Nutt. All rights
* reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/arp/arp_poll.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/arp/arp_send.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2 -1
View File
@@ -1,6 +1,7 @@
/****************************************************************************
* net/arp/arp_table.c
* Implementation of the ARP Address Resolution Protocol.
*
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (C) 2007-2009, 2011, 2014, 2018 Gregory Nutt. All rights
* reserved.
+2
View File
@@ -1,6 +1,8 @@
# ##############################################################################
# net/bluetooth/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
+2
View File
@@ -1,6 +1,8 @@
############################################################################
# net/bluetooth/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/bluetooth/bluetooth.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/bluetooth/bluetooth_callback.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/bluetooth/bluetooth_conn.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/bluetooth/bluetooth_container.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/bluetooth/bluetooth_finddev.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/bluetooth/bluetooth_initialize.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/bluetooth/bluetooth_input.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/bluetooth/bluetooth_poll.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/bluetooth/bluetooth_recvmsg.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/bluetooth/bluetooth_sendmsg.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/bluetooth/bluetooth_sockif.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
# ##############################################################################
# net/can/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
+2
View File
@@ -1,6 +1,8 @@
############################################################################
# net/can/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/can/can.h
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/can/can_callback.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/can/can_conn.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/can/can_getsockopt.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2 -1
View File
@@ -1,6 +1,7 @@
/****************************************************************************
* net/can/can_input.c
* Handling incoming packet input
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/can/can_notifier.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2 -1
View File
@@ -1,6 +1,7 @@
/****************************************************************************
* net/can/can_poll.c
* Poll for the availability of packet TX data
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/can/can_recvmsg.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/can/can_sendmsg.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/can/can_setsockopt.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/can/can_sockif.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
# ##############################################################################
# net/devif/CMakeLists.txt
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
+2
View File
@@ -1,6 +1,8 @@
############################################################################
# net/devif/Make.defs
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/devif/devif.h
*
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (C) 2007-2009, 2013-2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/devif/devif_callback.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/devif/devif_filesend.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/devif/devif_forward.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/devif/devif_initialize.c
*
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (C) 2007-2011, 2014, 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/devif/devif_iobsend.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
+2
View File
@@ -1,6 +1,8 @@
/****************************************************************************
* net/devif/devif_loopback.c
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The

Some files were not shown because too many files have changed in this diff Show More