mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] samples/bpf: add SPDX license identifier to parse_simple.c
@ 2026-05-04 19:46 Lucas Poupeau
  2026-05-15 21:48 ` Alexei Starovoitov
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Poupeau @ 2026-05-04 19:46 UTC (permalink / raw)
  To: ast, daniel, andrii; +Cc: bpf, linux-kernel, Lucas Poupeau

Add the SPDX-License-Identifier tag to replace or complement the
existing license text. This follows the Linux kernel's move to
standardize license identification.

Reported by checkpatch.pl.

Signed-off-by: Lucas Poupeau <lucasp.linux@gmail.com>
---
 samples/bpf/parse_simple.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/samples/bpf/parse_simple.c b/samples/bpf/parse_simple.c
index 4a486cb1e0df..b57ac5baca30 100644
--- a/samples/bpf/parse_simple.c
+++ b/samples/bpf/parse_simple.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /* Copyright (c) 2016 Facebook
  *
  * This program is free software; you can redistribute it and/or
-- 
2.54.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] samples/bpf: add SPDX license identifier to parse_simple.c
  2026-05-04 19:46 [PATCH] samples/bpf: add SPDX license identifier to parse_simple.c Lucas Poupeau
@ 2026-05-15 21:48 ` Alexei Starovoitov
  0 siblings, 0 replies; 2+ messages in thread
From: Alexei Starovoitov @ 2026-05-15 21:48 UTC (permalink / raw)
  To: Lucas Poupeau
  Cc: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko, bpf, LKML

On Mon, May 4, 2026 at 12:47 PM Lucas Poupeau <lucasp.linux@gmail.com> wrote:
>
> Add the SPDX-License-Identifier tag to replace or complement the
> existing license text. This follows the Linux kernel's move to
> standardize license identification.
>
> Reported by checkpatch.pl.
>
> Signed-off-by: Lucas Poupeau <lucasp.linux@gmail.com>
> ---
>  samples/bpf/parse_simple.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/samples/bpf/parse_simple.c b/samples/bpf/parse_simple.c
> index 4a486cb1e0df..b57ac5baca30 100644
> --- a/samples/bpf/parse_simple.c
> +++ b/samples/bpf/parse_simple.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
>  /* Copyright (c) 2016 Facebook
>   *
>   * This program is free software; you can redistribute it and/or

checkpatch should have told you that this is wrong way to add SPDX.
Also there are lots of there .c in that dir without SPDX.
Fix them all in one patch.

pw-bot :cr

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-05-15 21:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-04 19:46 [PATCH] samples/bpf: add SPDX license identifier to parse_simple.c Lucas Poupeau
2026-05-15 21:48 ` Alexei Starovoitov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®