Missing SPDK and redundant license info
These should be fixed before release!
Makefiles will be dropped.
The ethdev stuff is from Jan Blunck, let me see if I can find current email.
$ ./devtools/check-spdx-tag.sh -v Files without SPDX License -------------------------- doc/guides/custom.css doc/guides/linux_gsg/nic_perf_intel_platform.rst doc/guides/prog_guide/build-sdk-meson.rst drivers/net/qede/base/ecore_hsi_func_common.h examples/multi_process/Makefile examples/multi_process/client_server_mp/Makefile
Files with redundant license text
---------------------------------app/test/test_timer_racecond.clib/librte_ethdev/rte_ethdev_pci.hlib/librte_ethdev/rte_ethdev_vdev.h
total: 6 errors, 3 warnings
PATCH 1/1 ethdev: remove redundant license text
Redundant BSD-3 license text removed, the licensing already documented by "SPDX-License-Identifier: BSD-3-Clause" SPDX tag.
---
Cc: Jan Blunck <[email protected]>
Cc: Stephen Hemminger <[email protected]>
--- lib/librte_ethdev/rte_ethdev_pci.h | 26 -------------------------- lib/librte_ethdev/rte_ethdev_vdev.h | 26 -------------------------- 2 files changed, 52 deletions(-)
lib/librte_ethdev/rte_ethdev_pci.h +0 -26
@@ -1,32 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * 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. */ #ifndef _RTE_ETHDEV_PCI_H_
lib/librte_ethdev/rte_ethdev_vdev.h +0 -26
@@ -1,32 +1,6 @@/* SPDX-License-Identifier: BSD-3-Clause * 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. */ #ifndef _RTE_ETHDEV_VDEV_H_
Signature · 1 line
2.26.2
Re: [dpdk-dev] [PATCH] ethdev: remove redundant license text
Quoted 7 lines · Ferruh Yigit
Redundant BSD-3 license text removed, the licensing already documented by "SPDX-License-Identifier: BSD-3-Clause" SPDX tag.
Signed-off-by Ferruh Yigit <[email protected]>---
Cc: Jan Blunck <[email protected]>
Cc: Stephen Hemminger <[email protected]>
Re: [dpdk-dev] [PATCH] ethdev: remove redundant license text
In reply to Ferruh YigitQuoted 4 lines · Ferruh Yigit
Redundant BSD-3 license text removed, the licensing already documented by "SPDX-License-Identifier: BSD-3-Clause" SPDX tag.
Signed-off-by Ferruh Yigit <[email protected]>
Ferruh Yigit
AppliedRe: [dpdk-dev] [PATCH] ethdev: remove redundant license text
Quoted 8 lines · Andrew Rybchenko
Quoted 4 lines · Ferruh Yigit
Redundant BSD-3 license text removed, the licensing already documented by "SPDX-License-Identifier: BSD-3-Clause" SPDX tag.
Signed-off-by Ferruh Yigit <[email protected]>Acked-by Andrew Rybchenko <[email protected]>
Applied to dpdk-next-net/main, thanks.
PATCH 1/1 net/qede/base: add missing licence
In reply to Stephen HemmingerAdding BSD-3 SPDX license tag.
---
Cc: Jerin Jacob <[email protected]>
--- drivers/net/qede/base/ecore_hsi_func_common.h | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/net/qede/base/ecore_hsi_func_common.h +6 -0
@@ -1,3 +1,9 @@ +/* SPDX-License-Identifier: BSD-3-Clause +* Copyright (c) 2016 - 2020 Cavium Inc. +* All rights reserved. +* www.cavium.com +*/ +#ifndef _HSI_FUNC_COMMON_H#define _HSI_FUNC_COMMON_H
Signature · 1 line
2.26.2
Re: [dpdk-dev] [EXT] [PATCH] net/qede/base: add missing licence
Thanks Ferruh,
Quoted 9 lines
Adding BSD-3 SPDX license tag.
Fixes 519438f7c17f ("net/qede/base: re-arrange few structures for DDC")Reported-by Stephen Hemminger <[email protected]>Signed-off-by Ferruh Yigit <[email protected]>---
Cc: Jerin Jacob <[email protected]>
Jerin Jacob
AppliedRe: [dpdk-dev] [EXT] [PATCH] net/qede/base: add missing licence
Quoted 9 lines · Igor Russkikh
Thanks Ferruh,
Quoted 5 lines
Adding BSD-3 SPDX license tag.
Fixes 519438f7c17f ("net/qede/base: re-arrange few structures for DDC")
Quoted 6 lines
Quoted 4 lines
Reported-by Stephen Hemminger <[email protected]>Signed-off-by Ferruh Yigit <[email protected]>---
Cc: Jerin Jacob <[email protected]>Acked-by Igor Russkikh <[email protected]>
Applied to dpdk-next-net-mrvl/master. Thanks