samples/bpf/parse_simple.c | 1 + 1 file changed, 1 insertion(+)
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
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
© 2016 - 2026 Red Hat, Inc.