On Wed, 17 Nov 2021 at 17:52, Philippe Mathieu-Daudé <f4...@amsat.org> wrote: > > Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> > --- > scripts/gensyscalls.sh | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/scripts/gensyscalls.sh b/scripts/gensyscalls.sh > index 8fb450e3c96..aee5cc64a15 100755 > --- a/scripts/gensyscalls.sh > +++ b/scripts/gensyscalls.sh > @@ -75,7 +75,8 @@ generate_syscall_nr() > file="$3" > guard="$(upper LINUX_USER_$(qemu_arch $arch)_$(basename "$file"))" > > - (echo "/*" > + (echo "/* SPDX-License-Identifier: GPL-2.0-or-later */"
The gensyscalls.sh script itself is GPL-2-or-later, but the output files are generated from the Linux kernel's headers, which are generally GPL-2-only. As a non-lawyer, I'm not sure to what extent copyright adheres in a list of names-and-numbers, but marking the generated headers as GPL-2.0-only rather than -or-later seems to me like it better reflects the intention of the header file authors. It makes no difference to QEMU in practice because we are overall GPL-2.0-only anyway. thanks -- PMM