We were using LICENSE.bnx2x_pmd to reference inclusion of SPDX licensing tag from all the source file. Remove the LICENSE.bnx2x_pmd file and directly include SPDX tags in source files.
Signed-off-by: Rasesh Mody <rasesh.m...@cavium.com> --- drivers/net/bnx2x/LICENSE.bnx2x_pmd | 3 --- drivers/net/bnx2x/Makefile | 2 +- drivers/net/bnx2x/bnx2x.c | 2 +- drivers/net/bnx2x/bnx2x.h | 2 +- drivers/net/bnx2x/bnx2x_ethdev.c | 2 +- drivers/net/bnx2x/bnx2x_ethdev.h | 2 +- drivers/net/bnx2x/bnx2x_logs.h | 2 +- drivers/net/bnx2x/bnx2x_rxtx.c | 2 +- drivers/net/bnx2x/bnx2x_rxtx.h | 2 +- drivers/net/bnx2x/bnx2x_stats.c | 2 +- drivers/net/bnx2x/bnx2x_stats.h | 2 +- drivers/net/bnx2x/bnx2x_vfpf.c | 2 +- drivers/net/bnx2x/bnx2x_vfpf.h | 2 +- drivers/net/bnx2x/ecore_fw_defs.h | 2 +- drivers/net/bnx2x/ecore_hsi.h | 2 +- drivers/net/bnx2x/ecore_init.h | 2 +- drivers/net/bnx2x/ecore_init_ops.h | 2 +- drivers/net/bnx2x/ecore_mfw_req.h | 2 +- drivers/net/bnx2x/ecore_reg.h | 2 +- drivers/net/bnx2x/ecore_sp.c | 2 +- drivers/net/bnx2x/ecore_sp.h | 2 +- drivers/net/bnx2x/elink.c | 2 +- drivers/net/bnx2x/elink.h | 2 +- 23 files changed, 22 insertions(+), 25 deletions(-) delete mode 100644 drivers/net/bnx2x/LICENSE.bnx2x_pmd diff --git a/drivers/net/bnx2x/LICENSE.bnx2x_pmd b/drivers/net/bnx2x/LICENSE.bnx2x_pmd deleted file mode 100644 index 64c6ef2..0000000 --- a/drivers/net/bnx2x/LICENSE.bnx2x_pmd +++ /dev/null @@ -1,3 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause - * Copyright (c) 2014-2018 Cavium Inc. - */ diff --git a/drivers/net/bnx2x/Makefile b/drivers/net/bnx2x/Makefile index 150b4cf..f5221f8 100644 --- a/drivers/net/bnx2x/Makefile +++ b/drivers/net/bnx2x/Makefile @@ -2,7 +2,7 @@ # All rights reserved. # www.cavium.com # -# See LICENSE.bnx2x_pmd for copyright and licensing details. +# SPDX-License-Identifier: BSD-3-Clause include $(RTE_SDK)/mk/rte.vars.mk # diff --git a/drivers/net/bnx2x/bnx2x.c b/drivers/net/bnx2x/bnx2x.c index 84ade5f..24663f8 100644 --- a/drivers/net/bnx2x/bnx2x.c +++ b/drivers/net/bnx2x/bnx2x.c @@ -10,7 +10,7 @@ * All rights reserved. * www.cavium.com * - * See LICENSE.bnx2x_pmd for copyright and licensing details. + * SPDX-License-Identifier: BSD-3-Clause */ #define BNX2X_DRIVER_VERSION "1.78.18" diff --git a/drivers/net/bnx2x/bnx2x.h b/drivers/net/bnx2x/bnx2x.h index 4150fd8..adc69a2 100644 --- a/drivers/net/bnx2x/bnx2x.h +++ b/drivers/net/bnx2x/bnx2x.h @@ -10,7 +10,7 @@ * All rights reserved. * www.cavium.com * - * See LICENSE.bnx2x_pmd for copyright and licensing details. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef __BNX2X_H__ diff --git a/drivers/net/bnx2x/bnx2x_ethdev.c b/drivers/net/bnx2x/bnx2x_ethdev.c index 6a9cd58..7636e73 100644 --- a/drivers/net/bnx2x/bnx2x_ethdev.c +++ b/drivers/net/bnx2x/bnx2x_ethdev.c @@ -5,7 +5,7 @@ * All rights reserved. * www.cavium.com * - * See LICENSE.bnx2x_pmd for copyright and licensing details. + * SPDX-License-Identifier: BSD-3-Clause */ #include "bnx2x.h" diff --git a/drivers/net/bnx2x/bnx2x_ethdev.h b/drivers/net/bnx2x/bnx2x_ethdev.h index f05be7e..233d55d 100644 --- a/drivers/net/bnx2x/bnx2x_ethdev.h +++ b/drivers/net/bnx2x/bnx2x_ethdev.h @@ -5,7 +5,7 @@ * All rights reserved. * www.cavium.com * - * See LICENSE.bnx2x_pmd for copyright and licensing details. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef PMD_BNX2X_ETHDEV_H diff --git a/drivers/net/bnx2x/bnx2x_logs.h b/drivers/net/bnx2x/bnx2x_logs.h index 69a2fe1..67ee348 100644 --- a/drivers/net/bnx2x/bnx2x_logs.h +++ b/drivers/net/bnx2x/bnx2x_logs.h @@ -5,7 +5,7 @@ * All rights reserved. * www.cavium.com * - * See LICENSE.bnx2x_pmd for copyright and licensing details. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef _PMD_LOGS_H_ diff --git a/drivers/net/bnx2x/bnx2x_rxtx.c b/drivers/net/bnx2x/bnx2x_rxtx.c index 331884c..727a72a 100644 --- a/drivers/net/bnx2x/bnx2x_rxtx.c +++ b/drivers/net/bnx2x/bnx2x_rxtx.c @@ -5,7 +5,7 @@ * All rights reserved. * www.cavium.com * - * See LICENSE.bnx2x_pmd for copyright and licensing details. + * SPDX-License-Identifier: BSD-3-Clause */ #include "bnx2x.h" diff --git a/drivers/net/bnx2x/bnx2x_rxtx.h b/drivers/net/bnx2x/bnx2x_rxtx.h index 94b9e1b..84979f1 100644 --- a/drivers/net/bnx2x/bnx2x_rxtx.h +++ b/drivers/net/bnx2x/bnx2x_rxtx.h @@ -5,7 +5,7 @@ * All rights reserved. * www.cavium.com * - * See LICENSE.bnx2x_pmd for copyright and licensing details. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef _BNX2X_RXTX_H_ diff --git a/drivers/net/bnx2x/bnx2x_stats.c b/drivers/net/bnx2x/bnx2x_stats.c index e3880ab..47d8a3e 100644 --- a/drivers/net/bnx2x/bnx2x_stats.c +++ b/drivers/net/bnx2x/bnx2x_stats.c @@ -10,7 +10,7 @@ * All rights reserved. * www.cavium.com * - * See LICENSE.bnx2x_pmd for copyright and licensing details. + * SPDX-License-Identifier: BSD-3-Clause */ #include "bnx2x.h" diff --git a/drivers/net/bnx2x/bnx2x_stats.h b/drivers/net/bnx2x/bnx2x_stats.h index 6fcaf60..8729619 100644 --- a/drivers/net/bnx2x/bnx2x_stats.h +++ b/drivers/net/bnx2x/bnx2x_stats.h @@ -10,7 +10,7 @@ * All rights reserved. * www.cavium.com * - * See LICENSE.bnx2x_pmd for copyright and licensing details. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef BNX2X_STATS_H diff --git a/drivers/net/bnx2x/bnx2x_vfpf.c b/drivers/net/bnx2x/bnx2x_vfpf.c index dacad77..dd5ba98 100644 --- a/drivers/net/bnx2x/bnx2x_vfpf.c +++ b/drivers/net/bnx2x/bnx2x_vfpf.c @@ -5,7 +5,7 @@ * All rights reserved. * www.cavium.com * - * See LICENSE.bnx2x_pmd for copyright and licensing details. + * SPDX-License-Identifier: BSD-3-Clause */ #include "bnx2x.h" diff --git a/drivers/net/bnx2x/bnx2x_vfpf.h b/drivers/net/bnx2x/bnx2x_vfpf.h index c4675d4..702afe3 100644 --- a/drivers/net/bnx2x/bnx2x_vfpf.h +++ b/drivers/net/bnx2x/bnx2x_vfpf.h @@ -5,7 +5,7 @@ * All rights reserved. * www.cavium.com * - * See LICENSE.bnx2x_pmd for copyright and licensing details. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef BNX2X_VFPF_H diff --git a/drivers/net/bnx2x/ecore_fw_defs.h b/drivers/net/bnx2x/ecore_fw_defs.h index d10dd10..eace530 100644 --- a/drivers/net/bnx2x/ecore_fw_defs.h +++ b/drivers/net/bnx2x/ecore_fw_defs.h @@ -9,7 +9,7 @@ * All rights reserved. * www.cavium.com * - * See LICENSE.bnx2x_pmd for copyright and licensing details. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef ECORE_FW_DEFS_H diff --git a/drivers/net/bnx2x/ecore_hsi.h b/drivers/net/bnx2x/ecore_hsi.h index 0220e5f..94879c5 100644 --- a/drivers/net/bnx2x/ecore_hsi.h +++ b/drivers/net/bnx2x/ecore_hsi.h @@ -9,7 +9,7 @@ * All rights reserved. * www.cavium.com * - * See LICENSE.bnx2x_pmd for copyright and licensing details. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef ECORE_HSI_H diff --git a/drivers/net/bnx2x/ecore_init.h b/drivers/net/bnx2x/ecore_init.h index 8d00abb..a17ca19 100644 --- a/drivers/net/bnx2x/ecore_init.h +++ b/drivers/net/bnx2x/ecore_init.h @@ -10,7 +10,7 @@ * All rights reserved. * www.cavium.com * - * See LICENSE.bnx2x_pmd for copyright and licensing details. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef ECORE_INIT_H diff --git a/drivers/net/bnx2x/ecore_init_ops.h b/drivers/net/bnx2x/ecore_init_ops.h index dd5df3d..a93e7b4 100644 --- a/drivers/net/bnx2x/ecore_init_ops.h +++ b/drivers/net/bnx2x/ecore_init_ops.h @@ -10,7 +10,7 @@ * All rights reserved. * www.cavium.com * - * See LICENSE.bnx2x_pmd for copyright and licensing details. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef ECORE_INIT_OPS_H diff --git a/drivers/net/bnx2x/ecore_mfw_req.h b/drivers/net/bnx2x/ecore_mfw_req.h index c798c74..6a20285 100644 --- a/drivers/net/bnx2x/ecore_mfw_req.h +++ b/drivers/net/bnx2x/ecore_mfw_req.h @@ -9,7 +9,7 @@ * All rights reserved. * www.cavium.com * - * See LICENSE.bnx2x_pmd for copyright and licensing details. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef ECORE_MFW_REQ_H diff --git a/drivers/net/bnx2x/ecore_reg.h b/drivers/net/bnx2x/ecore_reg.h index 9800baf..6520897 100644 --- a/drivers/net/bnx2x/ecore_reg.h +++ b/drivers/net/bnx2x/ecore_reg.h @@ -9,7 +9,7 @@ * All rights reserved. * www.cavium.com * - * See LICENSE.bnx2x_pmd for copyright and licensing details. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef ECORE_REG_H diff --git a/drivers/net/bnx2x/ecore_sp.c b/drivers/net/bnx2x/ecore_sp.c index 7532967..cd8d5ee 100644 --- a/drivers/net/bnx2x/ecore_sp.c +++ b/drivers/net/bnx2x/ecore_sp.c @@ -10,7 +10,7 @@ * All rights reserved. * www.cavium.com * - * See LICENSE.bnx2x_pmd for copyright and licensing details. + * SPDX-License-Identifier: BSD-3-Clause */ #include "bnx2x.h" diff --git a/drivers/net/bnx2x/ecore_sp.h b/drivers/net/bnx2x/ecore_sp.h index 772c8b1..1fd0caf 100644 --- a/drivers/net/bnx2x/ecore_sp.h +++ b/drivers/net/bnx2x/ecore_sp.h @@ -10,7 +10,7 @@ * All rights reserved. * www.cavium.com * - * See LICENSE.bnx2x_pmd for copyright and licensing details. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef ECORE_SP_H diff --git a/drivers/net/bnx2x/elink.c b/drivers/net/bnx2x/elink.c index 34a2937..0f312db 100644 --- a/drivers/net/bnx2x/elink.c +++ b/drivers/net/bnx2x/elink.c @@ -10,7 +10,7 @@ * All rights reserved. * www.cavium.com * - * See LICENSE.bnx2x_pmd for copyright and licensing details. + * SPDX-License-Identifier: BSD-3-Clause */ #include "bnx2x.h" diff --git a/drivers/net/bnx2x/elink.h b/drivers/net/bnx2x/elink.h index 236f936..2c716ff 100644 --- a/drivers/net/bnx2x/elink.h +++ b/drivers/net/bnx2x/elink.h @@ -10,7 +10,7 @@ * All rights reserved. * www.cavium.com * - * See LICENSE.bnx2x_pmd for copyright and licensing details. + * SPDX-License-Identifier: BSD-3-Clause */ #ifndef ELINK_H -- 1.7.10.3