[v1] net/ntnic: add missing SPDX tag

Message ID 20240724131445.510743-1-mko-plv@napatech.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers
Series [v1] net/ntnic: add missing SPDX tag |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK
ci/intel-Testing success Testing PASS
ci/github-robot: build success github build: passed
ci/intel-Functional success Functional PASS
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-broadcom-Functional success Functional Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-abi-testing success Testing PASS
ci/iol-marvell-Functional success Functional Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-unit-arm64-testing success Testing PASS
ci/iol-compile-amd64-testing success Testing PASS
ci/iol-compile-arm64-testing success Testing PASS
ci/iol-unit-amd64-testing success Testing PASS
ci/loongarch-compilation success Compilation OK
ci/loongarch-unit-testing success Unit Testing PASS
ci/iol-sample-apps-testing success Testing PASS

Commit Message

Mykola Kostenok July 24, 2024, 1:14 p.m. UTC
Add missing SPDX tag.
Remove exception added to './devtools/check-spdx-tag.sh' for this files.

Signed-off-by: Mykola Kostenok <mko-plv@napatech.com>
---
 devtools/check-spdx-tag.sh                                   | 1 -
 .../clock_profiles/NT200A02_U23_Si5340_adr0_v5-Registers.h   | 4 ++++
 .../net/ntnic/nthw/supported/nthw_fpga_9563_055_039_0000.c   | 5 +++++
 drivers/net/ntnic/nthw/supported/nthw_fpga_instances.c       | 4 ++++
 drivers/net/ntnic/nthw/supported/nthw_fpga_instances.h       | 4 ++++
 drivers/net/ntnic/nthw/supported/nthw_fpga_mod_defs.h        | 5 +++++
 drivers/net/ntnic/nthw/supported/nthw_fpga_mod_str_map.c     | 4 ++++
 drivers/net/ntnic/nthw/supported/nthw_fpga_mod_str_map.h     | 4 ++++
 drivers/net/ntnic/nthw/supported/nthw_fpga_param_defs.h      | 5 +++++
 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs.h        | 5 +++++
 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_gfg.h    | 5 +++++
 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_gmf.h    | 5 +++++
 .../net/ntnic/nthw/supported/nthw_fpga_reg_defs_gpio_phy.h   | 5 +++++
 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_hif.h    | 5 +++++
 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_i2cm.h   | 5 +++++
 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_iic.h    | 5 +++++
 .../net/ntnic/nthw/supported/nthw_fpga_reg_defs_mac_pcs.h    | 5 +++++
 .../net/ntnic/nthw/supported/nthw_fpga_reg_defs_pci_rd_tg.h  | 5 +++++
 .../net/ntnic/nthw/supported/nthw_fpga_reg_defs_pci_wr_tg.h  | 5 +++++
 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_pcie3.h  | 5 +++++
 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_rac.h    | 5 +++++
 .../net/ntnic/nthw/supported/nthw_fpga_reg_defs_rst9563.h    | 5 +++++
 drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_sdc.h    | 5 +++++
 23 files changed, 105 insertions(+), 1 deletion(-)
  

Comments

Ferruh Yigit July 25, 2024, 1:20 p.m. UTC | #1
On 7/24/2024 2:14 PM, Mykola Kostenok wrote:
> Add missing SPDX tag.
> Remove exception added to './devtools/check-spdx-tag.sh' for this files.
> 
> Signed-off-by: Mykola Kostenok <mko-plv@napatech.com>
>

Hi Mykola,

Thanks for the update.


Acked-by: Ferruh Yigit <ferruh.yigit@amd.com>

Applied to dpdk-next-net/main, thanks.
  

Patch

diff --git a/devtools/check-spdx-tag.sh b/devtools/check-spdx-tag.sh
index 6b04395db6..1ffccdaecc 100755
--- a/devtools/check-spdx-tag.sh
+++ b/devtools/check-spdx-tag.sh
@@ -27,7 +27,6 @@  check_spdx() {
 	':^*.cocci' ':^*.abignore' \
 	':^*.map' ':^*.ini' ':^*.data' ':^*.json' ':^*.cfg' ':^*.txt' \
 	':^*.svg' ':^*.png' \
-	':^drivers/net/ntnic/nthw/supported/*' ':^drivers/net/ntnic/*Registers.h' \
 	> $tmpfile
 
     errors=$(wc -l < $tmpfile)
diff --git a/drivers/net/ntnic/nthw/core/nt200a0x/clock_profiles/NT200A02_U23_Si5340_adr0_v5-Registers.h b/drivers/net/ntnic/nthw/core/nt200a0x/clock_profiles/NT200A02_U23_Si5340_adr0_v5-Registers.h
index 956d725b7f..a6422e321c 100644
--- a/drivers/net/ntnic/nthw/core/nt200a0x/clock_profiles/NT200A02_U23_Si5340_adr0_v5-Registers.h
+++ b/drivers/net/ntnic/nthw/core/nt200a0x/clock_profiles/NT200A02_U23_Si5340_adr0_v5-Registers.h
@@ -1,3 +1,7 @@ 
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2024 Napatech A/S
+ */
 
 /*
  * Si5340 Rev D Configuration Register Export Header File
diff --git a/drivers/net/ntnic/nthw/supported/nthw_fpga_9563_055_039_0000.c b/drivers/net/ntnic/nthw/supported/nthw_fpga_9563_055_039_0000.c
index 03b827bc10..e26a275958 100644
--- a/drivers/net/ntnic/nthw/supported/nthw_fpga_9563_055_039_0000.c
+++ b/drivers/net/ntnic/nthw/supported/nthw_fpga_9563_055_039_0000.c
@@ -1,3 +1,8 @@ 
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2024 Napatech A/S
+ */
+
 /*
  * Auto-generated file - do *NOT* edit
  */
diff --git a/drivers/net/ntnic/nthw/supported/nthw_fpga_instances.c b/drivers/net/ntnic/nthw/supported/nthw_fpga_instances.c
index ff6efc6e75..4fe7f7ea94 100644
--- a/drivers/net/ntnic/nthw/supported/nthw_fpga_instances.c
+++ b/drivers/net/ntnic/nthw/supported/nthw_fpga_instances.c
@@ -1,3 +1,7 @@ 
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2024 Napatech A/S
+ */
 
 
 #include "nthw_fpga_instances.h"
diff --git a/drivers/net/ntnic/nthw/supported/nthw_fpga_instances.h b/drivers/net/ntnic/nthw/supported/nthw_fpga_instances.h
index 05c0b94bbe..d0e6f7b429 100644
--- a/drivers/net/ntnic/nthw/supported/nthw_fpga_instances.h
+++ b/drivers/net/ntnic/nthw/supported/nthw_fpga_instances.h
@@ -1,3 +1,7 @@ 
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2024 Napatech A/S
+ */
 
 
 #include "fpga_model.h"
diff --git a/drivers/net/ntnic/nthw/supported/nthw_fpga_mod_defs.h b/drivers/net/ntnic/nthw/supported/nthw_fpga_mod_defs.h
index 0c746f8f53..0b69d09cde 100644
--- a/drivers/net/ntnic/nthw/supported/nthw_fpga_mod_defs.h
+++ b/drivers/net/ntnic/nthw/supported/nthw_fpga_mod_defs.h
@@ -1,3 +1,8 @@ 
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2024 Napatech A/S
+ */
+
 /*
  * nthw_fpga_mod_defs.h
  *
diff --git a/drivers/net/ntnic/nthw/supported/nthw_fpga_mod_str_map.c b/drivers/net/ntnic/nthw/supported/nthw_fpga_mod_str_map.c
index d7bc686fe8..150b9dd976 100644
--- a/drivers/net/ntnic/nthw/supported/nthw_fpga_mod_str_map.c
+++ b/drivers/net/ntnic/nthw/supported/nthw_fpga_mod_str_map.c
@@ -1,3 +1,7 @@ 
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2024 Napatech A/S
+ */
 
 
 #include "nthw_fpga_mod_str_map.h"
diff --git a/drivers/net/ntnic/nthw/supported/nthw_fpga_mod_str_map.h b/drivers/net/ntnic/nthw/supported/nthw_fpga_mod_str_map.h
index 13971d5d4e..9442bb2d20 100644
--- a/drivers/net/ntnic/nthw/supported/nthw_fpga_mod_str_map.h
+++ b/drivers/net/ntnic/nthw/supported/nthw_fpga_mod_str_map.h
@@ -1,3 +1,7 @@ 
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2024 Napatech A/S
+ */
 
 
 #include "nthw_fpga_mod_defs.h"
diff --git a/drivers/net/ntnic/nthw/supported/nthw_fpga_param_defs.h b/drivers/net/ntnic/nthw/supported/nthw_fpga_param_defs.h
index 37ade07013..d2644e1765 100644
--- a/drivers/net/ntnic/nthw/supported/nthw_fpga_param_defs.h
+++ b/drivers/net/ntnic/nthw/supported/nthw_fpga_param_defs.h
@@ -1,3 +1,8 @@ 
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2024 Napatech A/S
+ */
+
 /*
  * nthw_fpga_param_defs.h
  *
diff --git a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs.h b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs.h
index aeb564349e..8a55b9aeca 100644
--- a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs.h
+++ b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs.h
@@ -1,3 +1,8 @@ 
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2024 Napatech A/S
+ */
+
 /*
  * nthw_fpga_reg_defs.h
  *
diff --git a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_gfg.h b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_gfg.h
index 6ed9758247..c9a586ec3c 100644
--- a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_gfg.h
+++ b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_gfg.h
@@ -1,3 +1,8 @@ 
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2024 Napatech A/S
+ */
+
 /*
  * nthw_fpga_reg_defs_gfg.h
  *
diff --git a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_gmf.h b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_gmf.h
index 98b85ee674..0ebbec6c8c 100644
--- a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_gmf.h
+++ b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_gmf.h
@@ -1,3 +1,8 @@ 
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2024 Napatech A/S
+ */
+
 /*
  * nthw_fpga_reg_defs_gmf.h
  *
diff --git a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_gpio_phy.h b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_gpio_phy.h
index 8d160af298..d540292e0f 100644
--- a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_gpio_phy.h
+++ b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_gpio_phy.h
@@ -1,3 +1,8 @@ 
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2024 Napatech A/S
+ */
+
 /*
  * nthw_fpga_reg_defs_gpio_phy.h
  *
diff --git a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_hif.h b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_hif.h
index ebd1b2eef8..294672d34d 100644
--- a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_hif.h
+++ b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_hif.h
@@ -1,3 +1,8 @@ 
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2024 Napatech A/S
+ */
+
 /*
  * nthw_fpga_reg_defs_hif.h
  *
diff --git a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_i2cm.h b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_i2cm.h
index 4ef618e2e1..0bb0d90eb2 100644
--- a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_i2cm.h
+++ b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_i2cm.h
@@ -1,3 +1,8 @@ 
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2024 Napatech A/S
+ */
+
 /*
  * nthw_fpga_reg_defs_i2cm.h
  *
diff --git a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_iic.h b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_iic.h
index 7744dc14c6..4b800aa3b4 100644
--- a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_iic.h
+++ b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_iic.h
@@ -1,3 +1,8 @@ 
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2024 Napatech A/S
+ */
+
 /*
  * nthw_fpga_reg_defs_iic.h
  *
diff --git a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_mac_pcs.h b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_mac_pcs.h
index 4a5e141647..c5f3cf4613 100644
--- a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_mac_pcs.h
+++ b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_mac_pcs.h
@@ -1,3 +1,8 @@ 
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2024 Napatech A/S
+ */
+
 /*
  * nthw_fpga_reg_defs_mac_pcs.h
  *
diff --git a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_pci_rd_tg.h b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_pci_rd_tg.h
index 4f8e41f261..46ce0afa9c 100644
--- a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_pci_rd_tg.h
+++ b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_pci_rd_tg.h
@@ -1,3 +1,8 @@ 
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2024 Napatech A/S
+ */
+
 /*
  * nthw_fpga_reg_defs_pci_rd_tg.h
  *
diff --git a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_pci_wr_tg.h b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_pci_wr_tg.h
index 59bb1b2613..884437d8b0 100644
--- a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_pci_wr_tg.h
+++ b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_pci_wr_tg.h
@@ -1,3 +1,8 @@ 
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2024 Napatech A/S
+ */
+
 /*
  * nthw_fpga_reg_defs_pci_wr_tg.h
  *
diff --git a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_pcie3.h b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_pcie3.h
index 641716af9e..6e57f7d231 100644
--- a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_pcie3.h
+++ b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_pcie3.h
@@ -1,3 +1,8 @@ 
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2024 Napatech A/S
+ */
+
 /*
  * nthw_fpga_reg_defs_pcie3.h
  *
diff --git a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_rac.h b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_rac.h
index a4071c0029..cce58e0c96 100644
--- a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_rac.h
+++ b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_rac.h
@@ -1,3 +1,8 @@ 
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2024 Napatech A/S
+ */
+
 /*
  * nthw_fpga_reg_defs_rac.h
  *
diff --git a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_rst9563.h b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_rst9563.h
index cd0668751c..e03e3fbb2e 100644
--- a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_rst9563.h
+++ b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_rst9563.h
@@ -1,3 +1,8 @@ 
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2024 Napatech A/S
+ */
+
 /*
  * nthw_fpga_reg_defs_rst9563.h
  *
diff --git a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_sdc.h b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_sdc.h
index d9cfff4128..da0092500b 100644
--- a/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_sdc.h
+++ b/drivers/net/ntnic/nthw/supported/nthw_fpga_reg_defs_sdc.h
@@ -1,3 +1,8 @@ 
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2024 Napatech A/S
+ */
+
 /*
  * nthw_fpga_reg_defs_sdc.h
  *