Re: [PATCH] samples/bpf: add SPDX license identifier to parse_simple.c
From: Alexei Starovoitov
Date: Fri May 15 2026 - 17:48:40 EST
On Mon, May 4, 2026 at 12:47 PM Lucas Poupeau <lucasp.linux@xxxxxxxxx> 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@xxxxxxxxx>
> ---
> 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