diff options
author | Martin Mares <mj@ucw.cz> | 2023-06-18 14:37:33 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2023-06-18 14:37:33 +0200 |
commit | 6182921907ef3cc31be3394eb468b24bcd3955a8 (patch) | |
tree | 9d1a42aa7b9438654c84dc8e72478cc76d596846 | |
parent | 0766bfa0f557430a6dd3256d45a5b756499f9f7b (diff) | |
download | pciutils-6182921907ef3cc31be3394eb468b24bcd3955a8.tar.gz |
Update license comments and added SPDX license identifiers
Previously, the only information about the specific version of GPL
was present in the README and individual source files mentioned only
GPL alone.
Let us update all copyright comments to explicitly say "GPL v2+"
and also include the machine readable SPDX license identifier.
57 files changed, 171 insertions, 59 deletions
@@ -1,6 +1,6 @@ This package contains the PCI Utilities, version @VERSION@. -Copyright (c) 1997--2022 Martin Mares <mj@ucw.cz> +Copyright (c) 1997--2023 Martin Mares <mj@ucw.cz> All files in this package can be freely distributed and used according to the terms of the GNU General Public License, either version 2 or @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2016 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <stdio.h> diff --git a/lib/access.c b/lib/access.c index b8fdbe2..7d66123 100644 --- a/lib/access.c +++ b/lib/access.c @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2022 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <stdio.h> diff --git a/lib/aix-device.c b/lib/aix-device.c index 9355395..028d92a 100644 --- a/lib/aix-device.c +++ b/lib/aix-device.c @@ -3,7 +3,9 @@ * * Copyright (c) 1999 Jari Kirma <kirma@cs.hut.fi> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ /* @@ -3,7 +3,9 @@ * * Copyright (c) 2008 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <string.h> diff --git a/lib/darwin.c b/lib/darwin.c index 9167393..8ae9008 100644 --- a/lib/darwin.c +++ b/lib/darwin.c @@ -3,7 +3,9 @@ * * Copyright (c) 2013 Apple, Inc. * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <errno.h> @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2008 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <stdio.h> @@ -3,7 +3,9 @@ * * Copyright (c) 2023 Pali Rohár <pali@kernel.org> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ /* diff --git a/lib/emulated.c b/lib/emulated.c index d15c8f7..92cd06e 100644 --- a/lib/emulated.c +++ b/lib/emulated.c @@ -3,7 +3,9 @@ * * Copyright (c) 2022 Pali Rohár * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "internal.h" diff --git a/lib/fbsd-device.c b/lib/fbsd-device.c index 604c8f0..2ea5e84 100644 --- a/lib/fbsd-device.c +++ b/lib/fbsd-device.c @@ -5,7 +5,9 @@ * Updated in 2003 by Samy Al Bahra <samy@kerneled.com> * Updated in 2017 by Imre Vadász <imrevdsz@gmail.com> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <errno.h> diff --git a/lib/filter.c b/lib/filter.c index 86486d3..0301f49 100644 --- a/lib/filter.c +++ b/lib/filter.c @@ -3,7 +3,9 @@ * * Copyright (c) 1998--2022 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <stdlib.h> diff --git a/lib/generic.c b/lib/generic.c index 6211c90..f7340a2 100644 --- a/lib/generic.c +++ b/lib/generic.c @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2022 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <string.h> diff --git a/lib/header.h b/lib/header.h index 63ee03c..e146a56 100644 --- a/lib/header.h +++ b/lib/header.h @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2010 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ /* @@ -3,7 +3,9 @@ * * Copyright (c) 2017 Joan Lledó <jlledom@member.fsf.org> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #define _GNU_SOURCE diff --git a/lib/i386-io-beos.h b/lib/i386-io-beos.h index 15f391b..49b7094 100644 --- a/lib/i386-io-beos.h +++ b/lib/i386-io-beos.h @@ -3,7 +3,9 @@ * * Copyright (c) 2009 Francois Revol <revol@free.fr> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ /* those are private syscalls */ diff --git a/lib/i386-io-cygwin.h b/lib/i386-io-cygwin.h index a8501cc..0b71d16 100644 --- a/lib/i386-io-cygwin.h +++ b/lib/i386-io-cygwin.h @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2006 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <sys/io.h> diff --git a/lib/i386-io-djgpp.h b/lib/i386-io-djgpp.h index 53f2f4e..bb29526 100644 --- a/lib/i386-io-djgpp.h +++ b/lib/i386-io-djgpp.h @@ -3,7 +3,9 @@ * * Copyright (c) 2010, 2017 Rudolf Marek <r.marek@assembler.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <pc.h> diff --git a/lib/i386-io-haiku.h b/lib/i386-io-haiku.h index dd00941..ce5362b 100644 --- a/lib/i386-io-haiku.h +++ b/lib/i386-io-haiku.h @@ -3,7 +3,9 @@ * * Copyright (c) 2009 Francois Revol <revol@free.fr> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <Drivers.h> diff --git a/lib/i386-io-hurd.h b/lib/i386-io-hurd.h index 000fd42..d44b2f5 100644 --- a/lib/i386-io-hurd.h +++ b/lib/i386-io-hurd.h @@ -7,7 +7,9 @@ * Thomas Schwinge <tschwinge@gnu.org> * Copyright (c) 2007 Thomas Schwinge <tschwinge@gnu.org> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <sys/io.h> diff --git a/lib/i386-io-linux.h b/lib/i386-io-linux.h index a2fd69e..e6bb9b6 100644 --- a/lib/i386-io-linux.h +++ b/lib/i386-io-linux.h @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2006 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <sys/io.h> diff --git a/lib/i386-io-sunos.h b/lib/i386-io-sunos.h index 903ad7c..86948d9 100644 --- a/lib/i386-io-sunos.h +++ b/lib/i386-io-sunos.h @@ -4,7 +4,9 @@ * Copyright (c) 2003 Bill Moore <billm@eng.sun.com> * Copyright (c) 2003--2006 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <sys/sysi86.h> diff --git a/lib/i386-io-windows.h b/lib/i386-io-windows.h index 6bb578c..fd1a54e 100644 --- a/lib/i386-io-windows.h +++ b/lib/i386-io-windows.h @@ -5,7 +5,9 @@ * Copyright (c) 2006 Martin Mares <mj@ucw.cz> * Copyright (c) 2021 Pali Rohár <pali@kernel.org> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <io.h> diff --git a/lib/i386-ports.c b/lib/i386-ports.c index 0ca87dd..1e2c402 100644 --- a/lib/i386-ports.c +++ b/lib/i386-ports.c @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2006 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #define _GNU_SOURCE @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2018 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <stdio.h> diff --git a/lib/internal.h b/lib/internal.h index ebd16f4..00ac401 100644 --- a/lib/internal.h +++ b/lib/internal.h @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2022 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "config.h" diff --git a/lib/mmio-ports.c b/lib/mmio-ports.c index a9e23c3..f380cb3 100644 --- a/lib/mmio-ports.c +++ b/lib/mmio-ports.c @@ -3,7 +3,9 @@ * * Copyright (c) 2022 Pali Rohár <pali@kernel.org> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ /* diff --git a/lib/names-cache.c b/lib/names-cache.c index ba5de6d..65bfb85 100644 --- a/lib/names-cache.c +++ b/lib/names-cache.c @@ -3,7 +3,9 @@ * * Copyright (c) 2008--2009 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "internal.h" diff --git a/lib/names-hash.c b/lib/names-hash.c index 2f5bc3c..8c75676 100644 --- a/lib/names-hash.c +++ b/lib/names-hash.c @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2008 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <string.h> diff --git a/lib/names-hwdb.c b/lib/names-hwdb.c index 171723b..71e7229 100644 --- a/lib/names-hwdb.c +++ b/lib/names-hwdb.c @@ -4,7 +4,9 @@ * Copyright (c) 2013--2014 Tom Gundersen <teg@jklm.no> * Copyright (c) 2014 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <string.h> diff --git a/lib/names-net.c b/lib/names-net.c index 95a6fd2..14141f4 100644 --- a/lib/names-net.c +++ b/lib/names-net.c @@ -3,7 +3,9 @@ * * Copyright (c) 2007--2008 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <string.h> diff --git a/lib/names-parse.c b/lib/names-parse.c index c86f8af..f50b8ec 100644 --- a/lib/names-parse.c +++ b/lib/names-parse.c @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2008 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <stdio.h> diff --git a/lib/names.c b/lib/names.c index a4314f6..f8d3997 100644 --- a/lib/names.c +++ b/lib/names.c @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2014 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <stdio.h> diff --git a/lib/names.h b/lib/names.h index d7e71ff..b34e3e6 100644 --- a/lib/names.h +++ b/lib/names.h @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2014 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #define MAX_LINE 1024 diff --git a/lib/nbsd-libpci.c b/lib/nbsd-libpci.c index 2b2ca41..0f9f27b 100644 --- a/lib/nbsd-libpci.c +++ b/lib/nbsd-libpci.c @@ -6,7 +6,9 @@ * Copyright (c) 2002 Quentin Garnier <cube@cubidou.net> * Copyright (c) 2002 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ /* diff --git a/lib/obsd-device.c b/lib/obsd-device.c index 71cde5e..e2e7652 100644 --- a/lib/obsd-device.c +++ b/lib/obsd-device.c @@ -3,7 +3,9 @@ * * Adapted from fbsd-device.c by Matthieu Herrb <matthieu.herrb@laas.fr>, 2006 * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <fcntl.h> diff --git a/lib/params.c b/lib/params.c index 979fb16..ac756ad 100644 --- a/lib/params.c +++ b/lib/params.c @@ -3,7 +3,9 @@ * * Copyright (c) 2008--2023 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <stdio.h> @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2023 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _PCI_LIB_H diff --git a/lib/pread.h b/lib/pread.h index 3db90e3..99a91b2 100644 --- a/lib/pread.h +++ b/lib/pread.h @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2003 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ /* @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2003 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #define _GNU_SOURCE diff --git a/lib/sylixos-device.c b/lib/sylixos-device.c index 07195d5..170ae02 100644 --- a/lib/sylixos-device.c +++ b/lib/sylixos-device.c @@ -1,9 +1,11 @@ /* - * The PCI Library -- Direct Configuration access via SylixOS Ports + * The PCI Library -- Direct Configuration access via SylixOS Ports * - * Copyright (c) 2018 YuJian.Gong <gongyujian@acoinfo.com> + * Copyright (c) 2018 YuJian.Gong <gongyujian@acoinfo.com> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #define _GNU_SOURCE diff --git a/lib/sysdep.h b/lib/sysdep.h index bdeb34a..7502035 100644 --- a/lib/sysdep.h +++ b/lib/sysdep.h @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2020 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #ifdef __GNUC__ diff --git a/lib/sysfs.c b/lib/sysfs.c index ffa4f9d..8cab869 100644 --- a/lib/sysfs.c +++ b/lib/sysfs.c @@ -4,7 +4,9 @@ * Copyright (c) 2003 Matthew Wilcox <matthew@wil.cx> * Copyright (c) 1997--2008 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #define _GNU_SOURCE diff --git a/lib/types.h b/lib/types.h index ab53f7c..2004906 100644 --- a/lib/types.h +++ b/lib/types.h @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2022 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <sys/types.h> diff --git a/lib/win32-cfgmgr32.c b/lib/win32-cfgmgr32.c index 9743002..0bcc0aa 100644 --- a/lib/win32-cfgmgr32.c +++ b/lib/win32-cfgmgr32.c @@ -3,7 +3,9 @@ * * Copyright (c) 2021 Pali Rohár <pali@kernel.org> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <windows.h> diff --git a/lib/win32-kldbg.c b/lib/win32-kldbg.c index 4c8ee54..9593a05 100644 --- a/lib/win32-kldbg.c +++ b/lib/win32-kldbg.c @@ -3,7 +3,9 @@ * * Copyright (c) 2022 Pali Rohár <pali@kernel.org> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <windows.h> diff --git a/lib/win32-sysdbg.c b/lib/win32-sysdbg.c index 5d0c07a..6b17f37 100644 --- a/lib/win32-sysdbg.c +++ b/lib/win32-sysdbg.c @@ -3,7 +3,9 @@ * * Copyright (c) 2022 Pali Rohár <pali@kernel.org> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <windows.h> diff --git a/ls-caps-vendor.c b/ls-caps-vendor.c index dc24f90..829d59f 100644 --- a/ls-caps-vendor.c +++ b/ls-caps-vendor.c @@ -3,7 +3,9 @@ * * Copyright (c) 2014 Gerd Hoffmann <kraxel@redhat.com> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <stdio.h> @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2018 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <stdio.h> @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2022 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <stdio.h> diff --git a/ls-kernel.c b/ls-kernel.c index b90a469..c939c52 100644 --- a/ls-kernel.c +++ b/ls-kernel.c @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2013 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <stdio.h> @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2008 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <stdio.h> @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2021 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <stdarg.h> @@ -6,7 +6,9 @@ * Written by Ben Hutchings <bhutchings@solarflare.com> * Improved by Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <stdio.h> @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2020 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <stdio.h> @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2018 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #define PCIUTILS_LSPCI @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2018 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+ + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include "lib/pci.h" @@ -3,7 +3,9 @@ * * Copyright (c) 1998--2020 Martin Mares <mj@ucw.cz> * - * Can be freely distributed and used under the terms of the GNU GPL. + * Can be freely distributed and used under the terms of the GNU GPL v2+. + * + * SPDX-License-Identifier: GPL-2.0-or-later */ #include <stdio.h> |