From 7b1fef78f71690d6ae4835097dd2045312cba348 Mon Sep 17 00:00:00 2001 From: Mykola Kostenok Date: Wed, 24 Jul 2024 15:14:43 +0200 Subject: [PATCH] net/ntnic: add missing SPDX tag Add missing SPDX tag. Remove exception added to './devtools/check-spdx-tag.sh' for this files. Fixes: c8662c871006 ("net/ntnic: add clock profile for NT200A0X smartNIC") Signed-off-by: Mykola Kostenok Acked-by: Ferruh Yigit --- 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 6b04395db61..1ffccdaecc4 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 956d725b7fe..a6422e321c8 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 03b827bc104..e26a2759589 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 ff6efc6e75e..4fe7f7ea946 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 05c0b94bbec..d0e6f7b4296 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 0c746f8f53d..0b69d09cde8 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 d7bc686fe8d..150b9dd9760 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 13971d5d4e2..9442bb2d205 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 37ade07013d..d2644e17650 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 aeb564349e0..8a55b9aecaa 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 6ed97582478..c9a586ec3c3 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 98b85ee6748..0ebbec6c8c3 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 8d160af2982..d540292e0f5 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 ebd1b2eef8a..294672d34d6 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 4ef618e2e1b..0bb0d90eb22 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 7744dc14c6f..4b800aa3b4a 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 4a5e141647c..c5f3cf4613a 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 4f8e41f2618..46ce0afa9c2 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 59bb1b2613e..884437d8b09 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 641716af9e3..6e57f7d2316 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 a4071c00293..cce58e0c962 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 cd0668751c5..e03e3fbb2ec 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 d9cfff4128e..da0092500b4 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 *