[PATCH] net: ntb_netdev: add SPDX-License-Identifier tag

Oskar Ray-Frayssinet posted 1 patch 3 weeks, 3 days ago
drivers/net/ntb_netdev.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] net: ntb_netdev: add SPDX-License-Identifier tag
Posted by Oskar Ray-Frayssinet 3 weeks, 3 days ago
Add missing SPDX-License-Identifier tag to reflect the dual
GPL-2.0-only/BSD-3-Clause license of this file.

Signed-off-by: Oskar Ray-Frayssinet <rayfraytech@gmail.com>
---
 drivers/net/ntb_netdev.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ntb_netdev.c b/drivers/net/ntb_netdev.c
index fbeae05817e9..3890074b26c9 100644
--- a/drivers/net/ntb_netdev.c
+++ b/drivers/net/ntb_netdev.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause
 /*
  * This file is provided under a dual BSD/GPLv2 license.  When using or
  *   redistributing this file, you may do so under either license.
-- 
2.43.0
Re: [PATCH] net: ntb_netdev: add SPDX-License-Identifier tag
Posted by Stephen Hemminger 3 weeks, 2 days ago
On Sun, 15 Mar 2026 21:33:45 +0100
Oskar Ray-Frayssinet <rayfraytech@gmail.com> wrote:

> Add missing SPDX-License-Identifier tag to reflect the dual
> GPL-2.0-only/BSD-3-Clause license of this file.
> 
> Signed-off-by: Oskar Ray-Frayssinet <rayfraytech@gmail.com>
> ---

You could take off the boiler plate text if file has SPDX license tag
Re: [PATCH] net: ntb_netdev: add SPDX-License-Identifier tag
Posted by Dave Jiang 3 weeks, 2 days ago

On 3/15/26 1:33 PM, Oskar Ray-Frayssinet wrote:
> Add missing SPDX-License-Identifier tag to reflect the dual
> GPL-2.0-only/BSD-3-Clause license of this file.
> 
> Signed-off-by: Oskar Ray-Frayssinet <rayfraytech@gmail.com>

Acked-by: Dave Jiang <dave.jiang@intel.com>

> ---
>  drivers/net/ntb_netdev.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/net/ntb_netdev.c b/drivers/net/ntb_netdev.c
> index fbeae05817e9..3890074b26c9 100644
> --- a/drivers/net/ntb_netdev.c
> +++ b/drivers/net/ntb_netdev.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause
>  /*
>   * This file is provided under a dual BSD/GPLv2 license.  When using or
>   *   redistributing this file, you may do so under either license.