* [PATCH v1] net/ntnic: add missing SPDX tag
@ 2024-07-24 13:14 Mykola Kostenok
2024-07-25 13:20 ` Ferruh Yigit
0 siblings, 1 reply; 2+ messages in thread
From: Mykola Kostenok @ 2024-07-24 13:14 UTC (permalink / raw)
To: dev, mko-plv; +Cc: ckm, thomas, andrew.rybchenko, ferruh.yigit, Serhii Iliushyk
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(-)
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
*
--
2.39.3
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-25 13:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-24 13:14 [PATCH v1] net/ntnic: add missing SPDX tag Mykola Kostenok
2024-07-25 13:20 ` Ferruh Yigit
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).