net/bnx2x: move SPDX tags to source files
Checks
Commit Message
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.mody@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
Comments
Hi,
08/07/2018 07:24, Rasesh Mody:
> 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.mody@cavium.com>
> --- 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
The SPDX line should be the first line.
You can take a look at doc/guides/contributing/patches.rst
Thanks
> From: Thomas Monjalon [mailto:thomas@monjalon.net]
> Sent: Monday, July 09, 2018 2:07 PM
>
> Hi,
>
> 08/07/2018 07:24, Rasesh Mody:
> > 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.mody@cavium.com>
> > --- 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
>
> The SPDX line should be the first line.
I will send a v2 with the change.
Thanks!
-Rasesh
>
> You can take a look at doc/guides/contributing/patches.rst
>
> Thanks
>
deleted file mode 100644
@@ -1,3 +0,0 @@
-/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright (c) 2014-2018 Cavium Inc.
- */
@@ -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
#
@@ -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"
@@ -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__
@@ -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"
@@ -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
@@ -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_
@@ -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"
@@ -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_
@@ -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"
@@ -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
@@ -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"
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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"
@@ -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
@@ -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"
@@ -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