SPDX license tag changes
cover SPDX license tag changes
These patches are all comment (not code) related to SPDX license tags.
Stephen Hemminger (7):
uuid: remove BSD boilerplate
reciprocal: remove redundant boilerplate
windows: remove boilerplate from BSD header
kni: add SPDX license tag
ethdev: add SPDX tags to pci and vdev headers
testpmd: add SPDX license tags
test: add SPDX headers
app/test-pmd/flowgen.c | 35 ++---------------- app/test-pmd/macswap.c | 33 ++--------------- app/test/test_cfgfile.c | 32 ++--------------- app/test/test_compressdev_test_buffer.h | 2 ++ app/test/test_thash.c | 34 ++---------------- app/test/test_timer_racecond.c | 34 ++---------------- lib/librte_eal/common/eal_common_uuid.c | 26 -------------- lib/librte_eal/common/include/rte_uuid.h | 26 -------------- lib/librte_eal/common/rte_reciprocal.c | 34 ++---------------- .../windows/eal/include/sys/queue.h | 25 ------------- lib/librte_ethdev/rte_ethdev_pci.h | 34 ++---------------- lib/librte_ethdev/rte_ethdev_vdev.h | 34 ++---------------- lib/librte_port/rte_port_kni.c | 36 +++---------------- lib/librte_port/rte_port_kni.h | 36 +++---------------- 14 files changed, 31 insertions(+), 390 deletions(-)
Signature · 1 line
2.20.1
PATCH 1/7 uuid: remove BSD boilerplate
License type is already clear from SPDX tag.
--- lib/librte_eal/common/eal_common_uuid.c | 26 ------------------------ lib/librte_eal/common/include/rte_uuid.h | 26 ------------------------ 2 files changed, 52 deletions(-)
lib/librte_eal/common/eal_common_uuid.c +0 -26
@@ -1,31 +1,5 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright (C) 1996, 1997 Theodore Ts'o. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* 1. Redistributions of source code must retain the above copyright -* notice, and the entire permission notice in its entirety, -* including the disclaimer of warranties. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. The name of the author may not be used to endorse or promote -* products derived from this software without specific prior -* written permission. -* -* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED -* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF -* WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE -* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT -* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE -* USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH -* DAMAGE. */ #include <stdio.h>
lib/librte_eal/common/include/rte_uuid.h +0 -26
@@ -1,31 +1,5 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright (C) 1996, 1997, 1998 Theodore Ts'o. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* 1. Redistributions of source code must retain the above copyright -* notice, and the entire permission notice in its entirety, -* including the disclaimer of warranties. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. The name of the author may not be used to endorse or promote -* products derived from this software without specific prior -* written permission. -* -* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED -* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF -* WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE -* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT -* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE -* USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH -* DAMAGE. */ /** * @file
Signature · 1 line
2.20.1
Re: [dpdk-dev] [PATCH 1/7] uuid: remove BSD boilerplate
Thomas Monjalon
AppliedRe: [dpdk-dev] [PATCH 1/7] uuid: remove BSD boilerplate
In reply to Stephen Hemminger25/09/2019 17:51, Stephen Hemminger:
Quoted 3 lines
License type is already clear from SPDX tag.
Signed-off-by Stephen Hemminger <[email protected]>
Applied, thanks
PATCH 2/7 reciprocal: remove redundant boilerplate
In reply to Stephen HemmingerNo need for extra language, coverd by SPDX tag.
--- lib/librte_eal/common/rte_reciprocal.c | 34 ++------------------------ 1 file changed, 2 insertions(+), 32 deletions(-)
lib/librte_eal/common/rte_reciprocal.c +2 -32
@@ -1,37 +1,7 @@/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2017 Cavium, Inc -*/ -/*- -* BSD LICENSE -* -* Copyright(c) Hannes Frederic Sowa -* All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* -* * Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* * Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in -* the documentation and/or other materials provided with the -* distribution. -* * Neither the name of Intel Corporation nor the names of its -* contributors may be used to endorse or promote products derived -* from this software without specific prior written permission. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -* (INCLUDING 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) Hannes Frederic Sowa +* All rights reserved. */ #include <stdio.h>
Signature · 1 line
2.20.1
Thomas Monjalon
AppliedRe: [dpdk-dev] [PATCH 2/7] reciprocal: remove redundant boilerplate
25/09/2019 17:51, Stephen Hemminger:
Quoted 3 lines
No need for extra language, coverd by SPDX tag.
Signed-off-by Stephen Hemminger <[email protected]>
Applied, thanks
PATCH 3/7 windows: remove boilerplate from BSD header
In reply to Stephen HemmingerThe BSD license is already handled by SPDX tag.
--- .../windows/eal/include/sys/queue.h | 25 ------------------- 1 file changed, 25 deletions(-)
lib/librte_eal/windows/eal/include/sys/queue.h +0 -25
@@ -3,31 +3,6 @@* * Copyright (c) 1991, 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 -* are met: -* 1. Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* 2. Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in the -* documentation and/or other materials provided with the distribution. -* 3. Neither the name of the University nor the names of its contributors -* may be used to endorse or promote products derived from this software -* without specific prior written permission. -* -* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND -* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE -* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -* SUCH DAMAGE. -* */ #ifndef _SYS_QUEUE_H_
Signature · 1 line
2.20.1
Re: [dpdk-dev] [PATCH 3/7] windows: remove boilerplate from BSD header
PATCH 4/7 kni: add SPDX license tag
In reply to Stephen HemmingerPer policy, DPDK uses SPDX license tags instead of BSD boilerplate.
--- lib/librte_port/rte_port_kni.c | 36 ++++------------------------------ lib/librte_port/rte_port_kni.h | 36 ++++------------------------------ 2 files changed, 8 insertions(+), 64 deletions(-)
lib/librte_port/rte_port_kni.c +4 -32
@@ -1,35 +1,7 @@ -/*- -* BSD LICENSE -* -* Copyright(c) 2016 Ethan Zhuang <[email protected]>. -* Copyright(c) 2016 Intel Corporation. -* All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* -* * Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* * Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in -* the documentation and/or other materials provided with the -* distribution. -* * Neither the name of Intel Corporation nor the names of its -* contributors may be used to endorse or promote products derived -* from this software without specific prior written permission. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* SPDX-License-Identifier: BSD-3-Clause +* Copyright(c) 2016 Ethan Zhuang <[email protected]>. +* Copyright(c) 2016 Intel Corporation. +* All rights reserved. */ #include <string.h>
lib/librte_port/rte_port_kni.h +4 -32
@@ -1,35 +1,7 @@ -/*- -* BSD LICENSE -* -* Copyright(c) 2016 Ethan Zhuang <[email protected]>. -* Copyright(c) 2016 Intel Corporation. -* All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* -* * Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* * Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in -* the documentation and/or other materials provided with the -* distribution. -* * Neither the name of Intel Corporation nor the names of its -* contributors may be used to endorse or promote products derived -* from this software without specific prior written permission. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* SPDX-License-Identifier: BSD-3-Clause +* Copyright(c) 2016 Ethan Zhuang <[email protected]>. +* Copyright(c) 2016 Intel Corporation. +* All rights reserved. */ #ifndef __INCLUDE_RTE_PORT_KNI_H__
Signature · 1 line
2.20.1
Re: [dpdk-dev] [PATCH 4/7] kni: add SPDX license tag
++ Ethan Zhuang <[email protected]>.
Re: [dpdk-dev] [PATCH 4/7] kni: add SPDX license tag
26/09/2019 09:39, Hemant Agrawal:
Quoted 2 lines
++ Ethan Zhuang <[email protected]>.
Acked-by Hemant Agrawal <[email protected]>
Already acked (and merged) from another series.
PATCH 5/7 ethdev: add SPDX tags to pci and vdev headers
In reply to Stephen HemmingerMissing SPDX tags on these.
--- lib/librte_ethdev/rte_ethdev_pci.h | 34 +++-------------------------- lib/librte_ethdev/rte_ethdev_vdev.h | 34 +++-------------------------- 2 files changed, 6 insertions(+), 62 deletions(-)
lib/librte_ethdev/rte_ethdev_pci.h +3 -31
@@ -1,34 +1,6 @@ -/*- -* BSD LICENSE -* -* Copyright(c) 2017 Brocade Communications Systems, Inc. -* Author: Jan Blunck <[email protected]> -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* -* * Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* * Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in -* the documentation and/or other materials provided with the -* distribution. -* * Neither the name of the copyright holder nor the names of its -* contributors may be used to endorse or promote products derived -* from this software without specific prior written permission. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* SPDX-License-Identifier: BSD-3-Clause +* Copyright(c) 2017 Brocade Communications Systems, Inc. +* Author: Jan Blunck <[email protected]> */ #ifndef _RTE_ETHDEV_PCI_H_
lib/librte_ethdev/rte_ethdev_vdev.h +3 -31
@@ -1,34 +1,6 @@ -/*- -* BSD LICENSE -* -* Copyright(c) 2017 Brocade Communications Systems, Inc. -* Author: Jan Blunck <[email protected]> -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* -* * Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* * Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in -* the documentation and/or other materials provided with the -* distribution. -* * Neither the name of the copyright holder nor the names of its -* contributors may be used to endorse or promote products derived -* from this software without specific prior written permission. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* SPDX-License-Identifier: BSD-3-Clause +* Copyright(c) 2017 Brocade Communications Systems, Inc. +* Author: Jan Blunck <[email protected]> */ #ifndef _RTE_ETHDEV_VDEV_H_
Signature · 1 line
2.20.1
Re: [dpdk-dev] [PATCH 5/7] ethdev: add SPDX tags to pci and vdev headers
++ Jan Blunck <[email protected]>
Quoted 126 lines
-----Original Message-----
From: dev <[email protected]> On Behalf Of Stephen Hemminger
Sent: Wednesday, September 25, 2019 9:22 PM
To: [email protected]
Cc: Stephen Hemminger <[email protected]>
Subject: [dpdk-dev] [PATCH 5/7] ethdev: add SPDX tags to pci and vdev headersMissing SPDX tags on these.
Signed-off-by Stephen Hemminger <[email protected]>--- lib/librte_ethdev/rte_ethdev_pci.h | 34 +++-------------------------- lib/librte_ethdev/rte_ethdev_vdev.h | 34 +++-------------------------- 2 files changed, 6 insertions(+), 62 deletions(-)lib/librte_ethdev/rte_ethdev_pci.h +0
-21@@ -1,34 +1,6 @@ -/*- -* BSD LICENSE -* -* Copyright(c) 2017 Brocade Communications Systems, Inc. -* Author: Jan Blunck <[email protected]> -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* -* * Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* * Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in -* the documentation and/or other materials provided with the -* distribution. -* * Neither the name of the copyright holder nor the names of its -* contributors may be used to endorse or promote products derived -* from this software without specific prior written permission. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.lib/librte_ethdev/rte_ethdev_pci.h +3
-0+/* SPDX-License-Identifier: BSD-3-Clause +* Copyright(c) 2017 Brocade Communications Systems, Inc. +* Author: Jan Blunck <[email protected]> */ #ifndef _RTE_ETHDEV_PCI_H_lib/librte_ethdev/rte_ethdev_vdev.h +0
-21@@ -1,34 +1,6 @@ -/*- -* BSD LICENSE -* -* Copyright(c) 2017 Brocade Communications Systems, Inc. -* Author: Jan Blunck <[email protected]> -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* -* * Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* * Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in -* the documentation and/or other materials provided with the -* distribution. -* * Neither the name of the copyright holder nor the names of its -* contributors may be used to endorse or promote products derived -* from this software without specific prior written permission. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2017 Brocade Communications Systems, Inc.
+ * Author: Jan Blunck <[email protected]>
*/#ifndef _RTE_ETHDEV_VDEV_H_
--
2.20.1
PATCH 6/7 testpmd: add SPDX license tags
In reply to Stephen HemmingerThese files are old tests where the original owner is not active. Change from BSD boilerplate to SPDX.
--- app/test-pmd/flowgen.c | 35 +++-------------------------------- app/test-pmd/macswap.c | 33 ++------------------------------- 2 files changed, 5 insertions(+), 63 deletions(-)
app/test-pmd/flowgen.c +3 -32
@@ -1,35 +1,6 @@ -/*- -* BSD LICENSE -* -* Copyright(c) 2010-2013 Tilera Corporation. All rights reserved. -* All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* -* * Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* * Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in -* the documentation and/or other materials provided with the -* distribution. -* * Neither the name of Tilera Corporation nor the names of its -* contributors may be used to endorse or promote products derived -* from this software without specific prior written permission. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* +/* SPDX-License-Identifier: BSD-3-Clause +* Copyright(c) 2010-2013 Tilera Corporation. All rights reserved. +* All rights reserved. */ #include <stdarg.h>
app/test-pmd/macswap.c +2 -31
@@ -1,34 +1,5 @@ -/*- -* BSD LICENSE -* -* Copyright(c) 2014 Tilera Corporation. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* -* * Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* * Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in -* the documentation and/or other materials provided with the -* distribution. -* * Neither the name of Tilera Corporation nor the names of its -* contributors may be used to endorse or promote products derived -* from this software without specific prior written permission. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* +/* SPDX-License-Identifier: BSD-3-Clause +* Copyright(c) 2014 Tilera Corporation. All rights reserved. */ #include <stdarg.h>
Signature · 1 line
2.20.1
Re: [dpdk-dev] [PATCH 6/7] testpmd: add SPDX license tags
PATCH 7/7 test: add SPDX headers
In reply to Stephen HemmingerThese are minor test files that never got converted.
--- app/test/test_cfgfile.c | 32 ++--------------------- app/test/test_compressdev_test_buffer.h | 2 ++ app/test/test_thash.c | 34 +++---------------------- app/test/test_timer_racecond.c | 34 +++---------------------- 4 files changed, 10 insertions(+), 92 deletions(-)
app/test/test_cfgfile.c +2 -30
@@ -1,33 +1,5 @@ -/*- -* BSD LICENSE -* -* Copyright(c) 2017 Wind River Systems Inc. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* -* * Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* * Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in -* the documentation and/or other materials provided with the -* distribution. -* * Neither the name of Intel Corporation nor the names of its -* contributors may be used to endorse or promote products derived -* from this software without specific prior written permission. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* SPDX-License-Identifier: BSD-3-Clause +* Copyright(c) 2017 Wind River Systems Inc. All rights reserved. */ #include <stdio.h>
app/test/test_compressdev_test_buffer.h +2 -0
@@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ +#ifndef TEST_COMPRESSDEV_TEST_BUFFERS_H_ #define TEST_COMPRESSDEV_TEST_BUFFERS_H_
app/test/test_thash.c +3 -31
@@ -1,34 +1,6 @@ -/*- -* BSD LICENSE -* -* Copyright(c) 2015 Vladimir Medvedkin <[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: -* -* * Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* * Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in -* the documentation and/or other materials provided with the -* distribution. -* * Neither the name of Intel Corporation nor the names of its -* contributors may be used to endorse or promote products derived -* from this software without specific prior written permission. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* SPDX-License-Identifier: BSD-3-Clause +* Copyright(c) 2015 Vladimir Medvedkin <[email protected]> +* All rights reserved. */ #include <rte_common.h>
app/test/test_timer_racecond.c +3 -31
@@ -1,34 +1,6 @@ -/*- -* BSD LICENSE -* -* Copyright(c) 2015 Akamai Technologies. -* All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* -* * Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* * Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in -* the documentation and/or other materials provided with the -* distribution. -* * Neither the name of Intel Corporation nor the names of its -* contributors may be used to endorse or promote products derived -* from this software without specific prior written permission. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* SPDX-License-Identifier: BSD-3-Clause +* Copyright(c) 2015 Akamai Technologies. +* All rights reserved. */ #include "test.h"
Signature · 1 line
2.20.1
Re: [dpdk-dev] [PATCH 7/7] test: add SPDX headers
++ Vladimir Medvedkin <[email protected]>
Quoted 187 lines
-----Original Message-----
From: dev <[email protected]> On Behalf Of Stephen Hemminger
Sent: Wednesday, September 25, 2019 9:22 PM
To: [email protected]
Cc: Stephen Hemminger <[email protected]>
Subject: [dpdk-dev] [PATCH 7/7] test: add SPDX headersThese are minor test files that never got converted.
Signed-off-by Stephen Hemminger <[email protected]>--- app/test/test_cfgfile.c | 32 ++--------------------- app/test/test_compressdev_test_buffer.h | 2 ++ app/test/test_thash.c | 34 +++---------------------- app/test/test_timer_racecond.c | 34 +++---------------------- 4 files changed, 10 insertions(+), 92 deletions(-)app/test/test_cfgfile.c index renamed from app/test/test_cfgfile.c +0
-0
37435b395a3a..01905920ef47100644app/test/test_cfgfile.c +0
-20@@ -1,33 +1,5 @@ -/*- -* BSD LICENSE -* -* Copyright(c) 2017 Wind River Systems Inc. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* -* * Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* * Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in -* the documentation and/or other materials provided with the -* distribution. -* * Neither the name of Intel Corporation nor the names of its -* contributors may be used to endorse or promote products derived -* from this software without specific prior written permission. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.app/test/test_cfgfile.c +2
-0+/* SPDX-License-Identifier: BSD-3-Clause +* Copyright(c) 2017 Wind River Systems Inc. All rights reserved. */ #include <stdio.h> app/test/test_compressdev_test_buffer.h +2
-0@@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ + #ifndef TEST_COMPRESSDEV_TEST_BUFFERS_H_ #define
TEST_COMPRESSDEV_TEST_BUFFERS_H_app/test/test_thash.c index renamed from app/test/test_thash.c +0
-0
5a6912cda4df..641e999d9828100644app/test/test_thash.c +0
-21@@ -1,34 +1,6 @@ -/*- -* BSD LICENSE -* -* Copyright(c) 2015 Vladimir Medvedkin <[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: -* -* * Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* * Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in -* the documentation and/or other materials provided with the -* distribution. -* * Neither the name of Intel Corporation nor the names of its -* contributors may be used to endorse or promote products derived -* from this software without specific prior written permission. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.app/test/test_thash.c +3
-0+/* SPDX-License-Identifier: BSD-3-Clause +* Copyright(c) 2015 Vladimir Medvedkin <[email protected]> +* All rights reserved. */ #include <rte_common.h> (quoted diff) +0
-0
b/app/test/test_timer_racecond.cindexa9e1daf16bf4..cf0bdd63c3df100644app/test/test_timer_racecond.c +0
-21@@ -1,34 +1,6 @@ -/*- -* BSD LICENSE -* -* Copyright(c) 2015 Akamai Technologies. -* All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* -* * Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* * Redistributions in binary form must reproduce the above copyright -* notice, this list of conditions and the following disclaimer in -* the documentation and/or other materials provided with the -* distribution. -* * Neither the name of Intel Corporation nor the names of its -* contributors may be used to endorse or promote products derived -* from this software without specific prior written permission. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2015 Akamai Technologies.
+ * All rights reserved.
*/#include "
test.h"
--
2.20.1
Vladimir Medvedkin
Acked-byRe: [dpdk-dev] [PATCH 7/7] test: add SPDX headers
Hi,
JFYI, there is already a patch for test_thash.c
https://patches.dpdk.org/patch/57613/
I have no objections, previous one could be superseded by Stephen's patch :)
чт, 26 сент. 2019 г. в 08:40, Hemant Agrawal <[email protected]>:
Quoted 196 lines
++ Vladimir Medvedkin <[email protected]>
Acked-by Hemant Agrawal <[email protected]>Quoted 24 lines
-----Original Message-----
From: dev <[email protected]> On Behalf Of Stephen Hemminger
Sent: Wednesday, September 25, 2019 9:22 PM
To: [email protected]
Cc: Stephen Hemminger <[email protected]>
Subject: [dpdk-dev] [PATCH 7/7] test: add SPDX headersThese are minor test files that never got converted.
Signed-off-by Stephen Hemminger <[email protected]>--- app/test/test_cfgfile.c | 32 ++--------------------- app/test/test_compressdev_test_buffer.h | 2 ++ app/test/test_thash.c | 34 +++---------------------- app/test/test_timer_racecond.c | 34 +++---------------------- 4 files changed, 10 insertions(+), 92 deletions(-)app/test/test_cfgfile.c index renamed from app/test/test_cfgfile.c +0
-0
37435b395a3a..01905920ef47100644app/test/test_cfgfile.c +0
-2@@ -1,33 +1,5 @@ -/*- -* BSD LICENSE app/test/test_cfgfile.c line 12
Quoted 10 lines
app/test/test_cfgfile.c +0
-10-* -* Copyright(c) 2017 Wind River Systems Inc. All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* -* * Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* * Redistributions in binary form must reproduce the above copyright
Quoted 53 lines
app/test/test_cfgfile.c +0
-8-* notice, this list of conditions and the following disclaimer in -* the documentation and/or other materials provided with the -* distribution. -* * Neither the name of Intel Corporation nor the names of its -* contributors may be used to endorse or promote products derived -* from this software without specific prior written permission. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.app/test/test_cfgfile.c +2
-0+/* SPDX-License-Identifier: BSD-3-Clause +* Copyright(c) 2017 Wind River Systems Inc. All rights reserved. */ #include <stdio.h> app/test/test_compressdev_test_buffer.h +2
-0@@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ + #ifndef TEST_COMPRESSDEV_TEST_BUFFERS_H_ #define
TEST_COMPRESSDEV_TEST_BUFFERS_H_app/test/test_thash.c index renamed from app/test/test_thash.c +0
-0
5a6912cda4df..641e999d9828100644app/test/test_thash.c +0
-3@@ -1,34 +1,6 @@ -/*- -* BSD LICENSE -* app/test/test_thash.c line 13
Quoted 10 lines
app/test/test_thash.c +0
-10-* Copyright(c) 2015 Vladimir Medvedkin <[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: -* -* * Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* * Redistributions in binary form must reproduce the above copyright
Quoted 43 lines
app/test/test_thash.c +0
-8-* notice, this list of conditions and the following disclaimer in -* the documentation and/or other materials provided with the -* distribution. -* * Neither the name of Intel Corporation nor the names of its -* contributors may be used to endorse or promote products derived -* from this software without specific prior written permission. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.app/test/test_thash.c +3
-0+/* SPDX-License-Identifier: BSD-3-Clause +* Copyright(c) 2015 Vladimir Medvedkin <[email protected]> +* All rights reserved. */ #include <rte_common.h> (quoted diff) +0
-0
b/app/test/test_timer_racecond.cindexa9e1daf16bf4..cf0bdd63c3df100644app/test/test_timer_racecond.c +0
-3@@ -1,34 +1,6 @@ -/*- -* BSD LICENSE -* app/test/test_timer_racecond.c line 13
Quoted 10 lines
app/test/test_timer_racecond.c +0
-10-* Copyright(c) 2015 Akamai Technologies. -* All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* -* * Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* * Redistributions in binary form must reproduce the above copyright
Quoted 37 lines
app/test/test_timer_racecond.c +0
-8-* notice, this list of conditions and the following disclaimer in -* the documentation and/or other materials provided with the -* distribution. -* * Neither the name of Intel Corporation nor the names of its -* contributors may be used to endorse or promote products derived -* from this software without specific prior written permission. -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2015 Akamai Technologies.
+ * All rights reserved.
*/#include "
test.h"
--
2.20.1
Signature · 2 lines
Regards, Vladimir
Trahe, Fiona
Acked-byRe: [dpdk-dev] [PATCH 7/7] test: add SPDX headers
Quoted 17 lines
Quoted 17 lines
Quoted 17 lines
-----Original Message-----
From: dev <[email protected]> On Behalf Of Stephen Hemminger
Sent: Wednesday, September 25, 2019 9:22 PM
To: [email protected]
Cc: Stephen Hemminger <[email protected]>
Subject: [dpdk-dev] [PATCH 7/7] test: add SPDX headersThese are minor test files that never got converted.
Signed-off-by Stephen Hemminger <[email protected]>--- app/test/test_cfgfile.c | 32 ++--------------------- app/test/test_compressdev_test_buffer.h | 2 ++ app/test/test_thash.c | 34 +++---------------------- app/test/test_timer_racecond.c | 34 +++---------------------- 4 files changed, 10 insertions(+), 92 deletions(-)
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
app/test/test_compressdev_test_buffer.h +2
-0@@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ + #ifndef TEST_COMPRESSDEV_TEST_BUFFERS_H_ #define
TEST_COMPRESSDEV_TEST_BUFFERS_H_
For compressdev