Cc: Hannes Reinecke <h...@suse.de> Cc: Martin Wilck <mwi...@suse.com> Cc: Benjamin Marzinski <bmarz...@redhat.com> Cc: Christophe Varoqui <christophe.varo...@opensvc.com> Cc: DM-DEVEL ML <dm-devel@lists.linux.dev> Signed-off-by: Xose Vazquez Perez <xose.vazq...@gmail.com> --- Missing:
util.c: maybe GPL-2.0-or-later ??? libmpathutil/util.c: * License: LGPL-2.1-or-later libmpathutil/util.c: * Code copied from busybox (GPLv2 or later) ambiguous, only "GPL" !!! libmultipath/prioritizers/alua.c: * This file is released under the GPL. libmultipath/prioritizers/alua_rtpg.c: * This file is released under the GPL. libmultipath/prioritizers/alua_rtpg.h: * This file is released under the GPL. libmultipath/prioritizers/alua_spc3.h: * This file is released under the GPL. libmultipath/prioritizers/hds.c: * This file is released under the GPL. libmultipath/prioritizers/weightedpath.c: * This file is released under the GPL --- kpartx/dasd.c | 14 +------------- kpartx/dasd.h | 14 +------------- kpartx/efi.h | 14 +------------- kpartx/gpt.c | 14 +------------- kpartx/gpt.h | 14 +------------- kpartx/kpartx_id | 7 +------ libdmmp/docs/doc-preclean.pl | 15 +-------------- libdmmp/libdmmp.c | 14 +------------- libdmmp/libdmmp/libdmmp.h | 14 +------------- libdmmp/libdmmp_misc.c | 14 +------------- libdmmp/libdmmp_mp.c | 14 +------------- libdmmp/libdmmp_path.c | 14 +------------- libdmmp/libdmmp_pg.c | 14 +------------- libdmmp/libdmmp_private.h | 14 +------------- libdmmp/test/libdmmp_speed_test.c | 14 +------------- libdmmp/test/libdmmp_test.c | 14 +------------- libmpathcmd/mpath_cmd.c | 14 +------------- libmpathcmd/mpath_cmd.h | 14 +------------- libmpathutil/msort.c | 16 ++-------------- libmpathutil/parser.c | 11 +---------- libmpathutil/parser.h | 11 +---------- libmpathutil/vector.c | 11 +---------- libmpathutil/vector.h | 11 +---------- libmpathvalid/mpath_valid.h | 14 +------------- libmultipath/alias.c | 13 +------------ libmultipath/checkers/cciss_tur.c | 14 +------------- libmultipath/dm-generic.c | 14 +------------- libmultipath/dm-generic.h | 14 +------------- libmultipath/file.c | 13 +------------ libmultipath/foreign.c | 14 +------------- libmultipath/foreign.h | 14 +------------- libmultipath/foreign/nvme.c | 14 +------------- libmultipath/generic.c | 14 +------------- libmultipath/generic.h | 14 +------------- libmultipath/io_err_stat.c | 3 +-- libmultipath/list.h | 3 +-- libmultipath/nvme/argconfig.h | 15 +-------------- libmultipath/nvme/linux/nvme.h | 10 +--------- libmultipath/nvme/linux/nvme_ioctl.h | 10 +--------- libmultipath/nvme/nvme.h | 10 +--------- libmultipath/prioritizers/ana.c | 3 +-- libmultipath/prioritizers/datacore.c | 4 +--- libmultipath/prioritizers/ontap.c | 10 +--------- libmultipath/prioritizers/path_latency.c | 3 +-- libmultipath/sysfs.c | 14 +------------- libmultipath/uevent.c | 14 +------------- libmultipath/valid.c | 14 +------------- libmultipath/valid.h | 14 +------------- libmultipath/version.h | 11 +---------- multipath/main.c | 11 +---------- tests/blacklist.c | 15 +-------------- tests/directio.c | 15 +-------------- tests/dmevents.c | 15 +-------------- tests/parser.c | 15 +-------------- tests/pgpolicy.c | 15 +-------------- tests/uevent.c | 15 +-------------- tests/util.c | 15 +-------------- tests/valid.c | 15 +-------------- 58 files changed, 59 insertions(+), 668 deletions(-) diff --git a/kpartx/dasd.c b/kpartx/dasd.c index f0398645..337d5f45 100644 --- a/kpartx/dasd.c +++ b/kpartx/dasd.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * dasd.c * @@ -7,19 +8,6 @@ * * Copyright (c) 2005, Hannes Reinecke, SUSE Linux Products GmbH * Copyright IBM Corporation, 2009 - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #define _GNU_SOURCE diff --git a/kpartx/dasd.h b/kpartx/dasd.h index 481ad79e..21704fa2 100644 --- a/kpartx/dasd.h +++ b/kpartx/dasd.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * dasd.h * @@ -7,19 +8,6 @@ * * Copyright (c) 2005, Hannes Reinecke, SUSE Linux Products GmbH * Copyright IBM Corporation, 2009 - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef DASD_H_INCLUDED diff --git a/kpartx/efi.h b/kpartx/efi.h index 10af0e71..33396b16 100644 --- a/kpartx/efi.h +++ b/kpartx/efi.h @@ -1,20 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* efi.[ch] - Manipulates EFI variables as exported in /proc/efi/vars Copyright (C) 2001 Dell Computer Corporation <matt_dom...@dell.com> - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef EFI_H_INCLUDED diff --git a/kpartx/gpt.c b/kpartx/gpt.c index fbf6ae22..69ddce99 100644 --- a/kpartx/gpt.c +++ b/kpartx/gpt.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* gpt.[ch] @@ -6,19 +7,6 @@ EFI GUID Partition Table handling Per Intel EFI Specification v1.02 http://developer.intel.com/technology/efi/efi.htm - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. */ #define _FILE_OFFSET_BITS 64 diff --git a/kpartx/gpt.h b/kpartx/gpt.h index b35320ff..c711a86d 100644 --- a/kpartx/gpt.h +++ b/kpartx/gpt.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* gpt.[ch] @@ -6,19 +7,6 @@ EFI GUID Partition Table handling Per Intel EFI Specification v1.02 http://developer.intel.com/technology/efi/efi.htm - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef GPT_H_INCLUDED diff --git a/kpartx/kpartx_id b/kpartx/kpartx_id index ffd3424a..ad5541fb 100755 --- a/kpartx/kpartx_id +++ b/kpartx/kpartx_id @@ -1,5 +1,5 @@ #!/bin/sh -# +# SPDX-License-Identifier: GPL-2.0-only # kpartx_id # # Generates ID information for device-mapper tables. @@ -8,11 +8,6 @@ # Author: # Hannes Reinecke <h...@suse.de> # -# -# This program is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the -# Free Software Foundation version 2 of the License. -# # This script generates ID information used to generate persistent symlinks. # It relies on the UUID strings generated by the various programs; the name # of the tables are of no consequence. diff --git a/libdmmp/docs/doc-preclean.pl b/libdmmp/docs/doc-preclean.pl index 9a9a4cef..20309655 100755 --- a/libdmmp/docs/doc-preclean.pl +++ b/libdmmp/docs/doc-preclean.pl @@ -1,19 +1,6 @@ #!/usr/bin/perl +# SPDX-License-Identifier: GPL-3.0-or-later # Copyright (C) 2016 Red Hat, Inc. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# # Author: Gris Ge <f...@redhat.com> use strict; diff --git a/libdmmp/libdmmp.c b/libdmmp/libdmmp.c index 8b9686a6..79550f52 100644 --- a/libdmmp/libdmmp.c +++ b/libdmmp/libdmmp.c @@ -1,19 +1,7 @@ +// SPDX-License-Identifier: GPL-3.0-or-later /* * Copyright (C) 2015 - 2017 Red Hat, Inc. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * * Author: Gris Ge <f...@redhat.com> * Todd Gill <tg...@redhat.com> */ diff --git a/libdmmp/libdmmp/libdmmp.h b/libdmmp/libdmmp/libdmmp.h index 25cd42ec..04080826 100644 --- a/libdmmp/libdmmp/libdmmp.h +++ b/libdmmp/libdmmp/libdmmp.h @@ -1,19 +1,7 @@ +// SPDX-License-Identifier: GPL-3.0-or-later /* * Copyright (C) 2015 - 2017 Red Hat, Inc. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * * Author: Gris Ge <f...@redhat.com> * Todd Gill <tg...@redhat.com> */ diff --git a/libdmmp/libdmmp_misc.c b/libdmmp/libdmmp_misc.c index 92bbf8d3..47f668ab 100644 --- a/libdmmp/libdmmp_misc.c +++ b/libdmmp/libdmmp_misc.c @@ -1,19 +1,7 @@ +// SPDX-License-Identifier: GPL-3.0-or-later /* * Copyright (C) 2015 - 2017 Red Hat, Inc. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * * Author: Gris Ge <f...@redhat.com> * Todd Gill <tg...@redhat.com> */ diff --git a/libdmmp/libdmmp_mp.c b/libdmmp/libdmmp_mp.c index 1be8ba1a..556e559d 100644 --- a/libdmmp/libdmmp_mp.c +++ b/libdmmp/libdmmp_mp.c @@ -1,19 +1,7 @@ +// SPDX-License-Identifier: GPL-3.0-or-later /* * Copyright (C) 2015 - 2016 Red Hat, Inc. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * * Author: Gris Ge <f...@redhat.com> * Todd Gill <tg...@redhat.com> */ diff --git a/libdmmp/libdmmp_path.c b/libdmmp/libdmmp_path.c index 96a96f4a..46548733 100644 --- a/libdmmp/libdmmp_path.c +++ b/libdmmp/libdmmp_path.c @@ -1,19 +1,7 @@ +// SPDX-License-Identifier: GPL-3.0-or-later /* * Copyright (C) 2015 - 2016 Red Hat, Inc. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * * Author: Gris Ge <f...@redhat.com> * Todd Gill <tg...@redhat.com> */ diff --git a/libdmmp/libdmmp_pg.c b/libdmmp/libdmmp_pg.c index 68f1917f..588d36f8 100644 --- a/libdmmp/libdmmp_pg.c +++ b/libdmmp/libdmmp_pg.c @@ -1,19 +1,7 @@ +// SPDX-License-Identifier: GPL-3.0-or-later /* * Copyright (C) 2015 - 2016 Red Hat, Inc. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * * Author: Gris Ge <f...@redhat.com> * Todd Gill <tg...@redhat.com> */ diff --git a/libdmmp/libdmmp_private.h b/libdmmp/libdmmp_private.h index d154146c..5ea3d8a0 100644 --- a/libdmmp/libdmmp_private.h +++ b/libdmmp/libdmmp_private.h @@ -1,19 +1,7 @@ +// SPDX-License-Identifier: GPL-3.0-or-later /* * Copyright (C) 2015 - 2016 Red Hat, Inc. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * * Author: Gris Ge <f...@redhat.com> * Todd Gill <tg...@redhat.com> */ diff --git a/libdmmp/test/libdmmp_speed_test.c b/libdmmp/test/libdmmp_speed_test.c index d91ba50a..855e1305 100644 --- a/libdmmp/test/libdmmp_speed_test.c +++ b/libdmmp/test/libdmmp_speed_test.c @@ -1,19 +1,7 @@ +// SPDX-License-Identifier: GPL-3.0-or-later /* * Copyright (C) 2015-2016 Red Hat, Inc. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * * Author: Gris Ge <f...@redhat.com> */ diff --git a/libdmmp/test/libdmmp_test.c b/libdmmp/test/libdmmp_test.c index a940b576..cf17fab5 100644 --- a/libdmmp/test/libdmmp_test.c +++ b/libdmmp/test/libdmmp_test.c @@ -1,19 +1,7 @@ +// SPDX-License-Identifier: GPL-3.0-or-later /* * Copyright (C) 2015-2017 Red Hat, Inc. * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * * Author: Gris Ge <f...@redhat.com> */ diff --git a/libmpathcmd/mpath_cmd.c b/libmpathcmd/mpath_cmd.c index a55bf95b..ec74a1d1 100644 --- a/libmpathcmd/mpath_cmd.c +++ b/libmpathcmd/mpath_cmd.c @@ -1,20 +1,8 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * Copyright (C) 2015 Red Hat, Inc. * * This file is part of the device-mapper multipath userspace tools. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License - * as published by the Free Software Foundation; either version 2.1 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <stdlib.h> diff --git a/libmpathcmd/mpath_cmd.h b/libmpathcmd/mpath_cmd.h index c96fabcf..4097e05c 100644 --- a/libmpathcmd/mpath_cmd.h +++ b/libmpathcmd/mpath_cmd.h @@ -1,20 +1,8 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * Copyright (C) 2015 Red Hat, Inc. * * This file is part of the device-mapper multipath userspace tools. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License - * as published by the Free Software Foundation; either version 2.1 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef MPATH_CMD_H_INCLUDED diff --git a/libmpathutil/msort.c b/libmpathutil/msort.c index 9df7b267..8107d497 100644 --- a/libmpathutil/msort.c +++ b/libmpathutil/msort.c @@ -1,20 +1,8 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* An alternative to qsort, with an identical interface. This file is part of the GNU C Library. Copyright (C) 1992-2022 Free Software Foundation, Inc. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - <https://www.gnu.org/licenses/>. */ + */ #include <alloca.h> #include <stdint.h> diff --git a/libmpathutil/parser.c b/libmpathutil/parser.c index b1db433f..131a5ed0 100644 --- a/libmpathutil/parser.c +++ b/libmpathutil/parser.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Part: Configuration file parser/reader. Place into the dynamic * data structure representation the conf file @@ -5,16 +6,6 @@ * Version: $Id: parser.c,v 1.0.3 2003/05/11 02:28:03 acassen Exp $ * * Author: Alexandre Cassen, <acas...@linux-vs.org> - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU General Public License for more details. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. */ #include <syslog.h> diff --git a/libmpathutil/parser.h b/libmpathutil/parser.h index 179aeca8..3d14226b 100644 --- a/libmpathutil/parser.h +++ b/libmpathutil/parser.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Soft: Keepalived is a failover program for the LVS project * <www.linuxvirtualserver.org>. It monitor & manipulate @@ -8,16 +9,6 @@ * Version: $Id: parser.h,v 1.0.3 2003/05/11 02:28:03 acassen Exp $ * * Author: Alexandre Cassen, <acas...@linux-vs.org> - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU General Public License for more details. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. */ #ifndef PARSER_H_INCLUDED diff --git a/libmpathutil/vector.c b/libmpathutil/vector.c index 581631c5..3d54ed9e 100644 --- a/libmpathutil/vector.c +++ b/libmpathutil/vector.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Part: Vector structure manipulation. * @@ -5,16 +6,6 @@ * * Author: Alexandre Cassen, <acas...@linux-vs.org> * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU General Public License for more details. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Copyright (c) 2002, 2003, 2004 Alexandre Cassen * Copyright (c) 2005 Christophe Varoqui */ diff --git a/libmpathutil/vector.h b/libmpathutil/vector.h index 17309e0c..07012776 100644 --- a/libmpathutil/vector.h +++ b/libmpathutil/vector.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Soft: Keepalived is a failover program for the LVS project * <www.linuxvirtualserver.org>. It monitor & manipulate @@ -8,16 +9,6 @@ * Version: $Id: vector.h,v 1.0.3 2003/05/11 02:28:03 acassen Exp $ * * Author: Alexandre Cassen, <acas...@linux-vs.org> - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU General Public License for more details. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. */ #ifndef VECTOR_H_INCLUDED diff --git a/libmpathvalid/mpath_valid.h b/libmpathvalid/mpath_valid.h index de165a2d..9b0aeaa6 100644 --- a/libmpathvalid/mpath_valid.h +++ b/libmpathvalid/mpath_valid.h @@ -1,20 +1,8 @@ +// SPDX-License-Identifier: LGPL-2.0-or-later /* * Copyright (C) 2015 Red Hat, Inc. * * This file is part of the device-mapper multipath userspace tools. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef MPATH_VALID_H_INCLUDED diff --git a/libmultipath/alias.c b/libmultipath/alias.c index ea6c7b4f..791af1ec 100644 --- a/libmultipath/alias.c +++ b/libmultipath/alias.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2005 Christophe Varoqui * Copyright (c) 2005 Benjamin Marzinski, Redhat @@ -30,18 +31,6 @@ * significant parts of this file were taken from iscsi-bindings.c of the * linux-iscsi project. * Copyright (C) 2002 Cisco Systems, Inc. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * See the file COPYING included with this distribution for more details. */ #define BINDINGS_FILE_HEADER \ diff --git a/libmultipath/checkers/cciss_tur.c b/libmultipath/checkers/cciss_tur.c index eaf67b35..c89fe5e7 100644 --- a/libmultipath/checkers/cciss_tur.c +++ b/libmultipath/checkers/cciss_tur.c @@ -1,21 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* ***************************************************************************** * * * (C) Copyright 2007 Hewlett-Packard Development Company, L.P * * * - * This program is free software; you can redistribute it and/or modify it * - * under the terms of the GNU General Public License as published by the Free* - * Software Foundation; either version 2 of the License, or (at your option)* - * any later version. * - * * - * This program is distributed in the hope that it will be useful, but * - * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY* - * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * - * for more details. * - * * - * You should have received a copy of the GNU General Public License along * - * with this program. If not, see <http://www.gnu.org/licenses/>. * - * * ***************************************************************************** */ diff --git a/libmultipath/dm-generic.c b/libmultipath/dm-generic.c index e49f9bbf..8d7d7953 100644 --- a/libmultipath/dm-generic.c +++ b/libmultipath/dm-generic.c @@ -1,18 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* Copyright (c) 2018 Martin Wilck, SUSE Linux GmbH - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version 2 - of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. */ #include <stdint.h> diff --git a/libmultipath/dm-generic.h b/libmultipath/dm-generic.h index 9055ce1c..3db3dd42 100644 --- a/libmultipath/dm-generic.h +++ b/libmultipath/dm-generic.h @@ -1,18 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* Copyright (c) 2018 Martin Wilck, SUSE Linux GmbH - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version 2 - of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. */ #ifndef DM_GENERIC_H_INCLUDED #define DM_GENERIC_H_INCLUDED diff --git a/libmultipath/file.c b/libmultipath/file.c index 72f1d246..ce9ff610 100644 --- a/libmultipath/file.c +++ b/libmultipath/file.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2005 Christophe Varoqui * Copyright (c) 2005 Benjamin Marzinski, Redhat @@ -22,18 +23,6 @@ * significant parts of this file were taken from iscsi-bindings.c of the * linux-iscsi project. * Copyright (C) 2002 Cisco Systems, Inc. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * See the file COPYING included with this distribution for more details. */ int diff --git a/libmultipath/foreign.c b/libmultipath/foreign.c index af5b0ed3..138b2eb3 100644 --- a/libmultipath/foreign.c +++ b/libmultipath/foreign.c @@ -1,18 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* Copyright (c) 2018 Martin Wilck, SUSE Linux GmbH - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version 2 - of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. */ #include <sys/sysmacros.h> diff --git a/libmultipath/foreign.h b/libmultipath/foreign.h index 485fb2d8..97c1f8ac 100644 --- a/libmultipath/foreign.h +++ b/libmultipath/foreign.h @@ -1,18 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* Copyright (c) 2018 Martin Wilck, SUSE Linux GmbH - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version 2 - of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. */ #ifndef FOREIGN_H_INCLUDED #define FOREIGN_H_INCLUDED diff --git a/libmultipath/foreign/nvme.c b/libmultipath/foreign/nvme.c index cde660ce..0d19303e 100644 --- a/libmultipath/foreign/nvme.c +++ b/libmultipath/foreign/nvme.c @@ -1,18 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* Copyright (c) 2018 Martin Wilck, SUSE Linux GmbH - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version 2 - of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. */ #include "nvme-lib.h" diff --git a/libmultipath/generic.c b/libmultipath/generic.c index e7cf2975..0babd9a6 100644 --- a/libmultipath/generic.c +++ b/libmultipath/generic.c @@ -1,18 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* Copyright (c) 2018 Martin Wilck, SUSE Linux GmbH - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version 2 - of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. */ #include "generic.h" diff --git a/libmultipath/generic.h b/libmultipath/generic.h index 2e4673be..77183b30 100644 --- a/libmultipath/generic.h +++ b/libmultipath/generic.h @@ -1,18 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* Copyright (c) 2018 Martin Wilck, SUSE Linux GmbH - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version 2 - of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. */ #ifndef GENERIC_H_INCLUDED #define GENERIC_H_INCLUDED diff --git a/libmultipath/io_err_stat.c b/libmultipath/io_err_stat.c index 879c310a..64054c18 100644 --- a/libmultipath/io_err_stat.c +++ b/libmultipath/io_err_stat.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * (C) Copyright HUAWEI Technology Corp. 2017, All Rights Reserved. * @@ -7,8 +8,6 @@ * IO error stream statistic process for path failure event from kernel * * Author(s): Guan Junxiong 2017 <guanjunxi...@huawei.com> - * - * This file is released under the GPL version 2, or any later version. */ #include <unistd.h> diff --git a/libmultipath/list.h b/libmultipath/list.h index 8f485209..58eecdcc 100644 --- a/libmultipath/list.h +++ b/libmultipath/list.h @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copied from the Linux kernel source tree, version 2.6.0-test1. * - * Licensed under the GPL v2 as per the whole kernel source tree. - * */ #ifndef LIST_H_INCLUDED diff --git a/libmultipath/nvme/argconfig.h b/libmultipath/nvme/argconfig.h index e6c54453..b3caa7be 100644 --- a/libmultipath/nvme/argconfig.h +++ b/libmultipath/nvme/argconfig.h @@ -1,21 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later //////////////////////////////////////////////////////////////////////// // // Copyright 2014 PMC-Sierra, Inc. // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// diff --git a/libmultipath/nvme/linux/nvme.h b/libmultipath/nvme/linux/nvme.h index f0cb2905..6ce8d22d 100644 --- a/libmultipath/nvme/linux/nvme.h +++ b/libmultipath/nvme/linux/nvme.h @@ -1,15 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Definitions for the NVM Express interface * Copyright (c) 2011-2014, Intel Corporation. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. */ #ifndef LINUX_NVME_H_INCLUDED diff --git a/libmultipath/nvme/linux/nvme_ioctl.h b/libmultipath/nvme/linux/nvme_ioctl.h index 3f6623c8..cae173d9 100644 --- a/libmultipath/nvme/linux/nvme_ioctl.h +++ b/libmultipath/nvme/linux/nvme_ioctl.h @@ -1,15 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Definitions for the NVM Express ioctl interface * Copyright (c) 2011-2014, Intel Corporation. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. */ #ifndef LINUX_NVME_IOCTL_H_INCLUDED diff --git a/libmultipath/nvme/nvme.h b/libmultipath/nvme/nvme.h index 019bce1b..ab71cea9 100644 --- a/libmultipath/nvme/nvme.h +++ b/libmultipath/nvme/nvme.h @@ -1,15 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Definitions for the NVM Express interface * Copyright (c) 2011-2014, Intel Corporation. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. */ #ifndef NVME_NVME_H_INCLUDED diff --git a/libmultipath/prioritizers/ana.c b/libmultipath/prioritizers/ana.c index e9827dca..34527b22 100644 --- a/libmultipath/prioritizers/ana.c +++ b/libmultipath/prioritizers/ana.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * (C) Copyright HUAWEI Technology Corp. 2017 All Rights Reserved. * @@ -9,8 +10,6 @@ * * Author(s): Cheng Jike <chengjike.ch...@huawei.com> * Li Jie <liji...@huawei.com> - * - * This file is released under the GPL version 2, or any later version. */ #include <stdio.h> #include <sys/ioctl.h> diff --git a/libmultipath/prioritizers/datacore.c b/libmultipath/prioritizers/datacore.c index f288306c..ab813a0e 100644 --- a/libmultipath/prioritizers/datacore.c +++ b/libmultipath/prioritizers/datacore.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * (C) 2010 Christophe Varoqui * (C) 2009 Dembach Goo Informatik GmbH & Co KG @@ -9,9 +10,6 @@ * This program was inspired by work from * Matthias Rudolph <matthias.rudo...@hds.com> * - * This work is made available on the basis of the - * GPLv2 for details see <http://www.gnu.org/licenses/>. - * * Manon Goo 2009 * * diff --git a/libmultipath/prioritizers/ontap.c b/libmultipath/prioritizers/ontap.c index 90eaf274..03ca28e5 100644 --- a/libmultipath/prioritizers/ontap.c +++ b/libmultipath/prioritizers/ontap.c @@ -1,15 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2005 Network Appliance, Inc., All Rights Reserved * Author: David Wysochanski available at dav...@netapp.com - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License v2 for more details. */ #include <stdio.h> diff --git a/libmultipath/prioritizers/path_latency.c b/libmultipath/prioritizers/path_latency.c index f4142577..11ffa684 100644 --- a/libmultipath/prioritizers/path_latency.c +++ b/libmultipath/prioritizers/path_latency.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * (C) Copyright HUAWEI Technology Corp. 2017, All Rights Reserved. * @@ -16,8 +17,6 @@ * * Author(s): Yang Feng <philip.y...@huawei.com> * Revised: Guan Junxiong <guanjunxi...@huawei.com> - * - * This file is released under the GPL version 2, or any later version. */ #define _GNU_SOURCE diff --git a/libmultipath/sysfs.c b/libmultipath/sysfs.c index b2c1ce02..af27d107 100644 --- a/libmultipath/sysfs.c +++ b/libmultipath/sysfs.c @@ -1,18 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2005-2006 Kay Sievers <kay.siev...@vrfy.org> - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation version 2 of the License. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program. If not, see <http://www.gnu.org/licenses/>. - * */ diff --git a/libmultipath/uevent.c b/libmultipath/uevent.c index 32135d7e..63cf2fbc 100644 --- a/libmultipath/uevent.c +++ b/libmultipath/uevent.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * uevent.c - trigger upon netlink uevents from the kernel * @@ -7,19 +8,6 @@ * gcc -I /lib/modules/`uname -r`/build/include -o uevent_listen uevent_listen.c * * Copyright (C) 2004 Kay Sievers <kay.siev...@vrfy.org> - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation version 2 of the License. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program. If not, see <http://www.gnu.org/licenses/>. - * */ #include <unistd.h> diff --git a/libmultipath/valid.c b/libmultipath/valid.c index f23ee6b2..7bf86160 100644 --- a/libmultipath/valid.c +++ b/libmultipath/valid.c @@ -1,18 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* Copyright (c) 2020 Benjamin Marzinski, IBM - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version 2 - of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. */ #include <stddef.h> #include <errno.h> diff --git a/libmultipath/valid.h b/libmultipath/valid.h index 96ba5545..3483ec06 100644 --- a/libmultipath/valid.h +++ b/libmultipath/valid.h @@ -1,18 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* Copyright (c) 2020 Benjamin Marzinski, IBM - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version 2 - of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <https://www.gnu.org/licenses/>. */ #ifndef VALID_H_INCLUDED #define VALID_H_INCLUDED diff --git a/libmultipath/version.h b/libmultipath/version.h index 4a721eda..7d92bb84 100644 --- a/libmultipath/version.h +++ b/libmultipath/version.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Soft: multipath device mapper target autoconfig * @@ -5,16 +6,6 @@ * * Author: Christophe Varoqui * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU General Public License for more details. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Copyright (c) 2006 Christophe Varoqui */ #ifndef VERSION_H_INCLUDED diff --git a/multipath/main.c b/multipath/main.c index 9967dc6d..f2adcdeb 100644 --- a/multipath/main.c +++ b/multipath/main.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Soft: multipath device mapper target autoconfig * @@ -5,16 +6,6 @@ * * Author: Christophe Varoqui * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU General Public License for more details. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Copyright (c) 2003, 2004, 2005 Christophe Varoqui * Copyright (c) 2005 Benjamin Marzinski, Redhat * Copyright (c) 2005 Kiyoshi Ueda, NEC diff --git a/tests/blacklist.c b/tests/blacklist.c index ba8dfd07..ab3da619 100644 --- a/tests/blacklist.c +++ b/tests/blacklist.c @@ -1,19 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2018 Benjamin Marzinski, Redhat - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - * */ #include <stdarg.h> #include <stddef.h> diff --git a/tests/directio.c b/tests/directio.c index 36282227..53444344 100644 --- a/tests/directio.c +++ b/tests/directio.c @@ -1,19 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2018 Benjamin Marzinski, Redhat - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - * */ #define _GNU_SOURCE diff --git a/tests/dmevents.c b/tests/dmevents.c index 2f98173c..6df4f036 100644 --- a/tests/dmevents.c +++ b/tests/dmevents.c @@ -1,19 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2018 Benjamin Marzinski, Redhat - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - * */ #include <pthread.h> diff --git a/tests/parser.c b/tests/parser.c index cf96d81f..efa7bf2b 100644 --- a/tests/parser.c +++ b/tests/parser.c @@ -1,19 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2018 SUSE Linux GmbH - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - * */ #include <stdbool.h> diff --git a/tests/pgpolicy.c b/tests/pgpolicy.c index ccf29bc9..fb956d14 100644 --- a/tests/pgpolicy.c +++ b/tests/pgpolicy.c @@ -1,19 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2018 Benjamin Marzinski, Redhat - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - * */ #include <stdint.h> diff --git a/tests/uevent.c b/tests/uevent.c index 6a010ab2..39f5dbdd 100644 --- a/tests/uevent.c +++ b/tests/uevent.c @@ -1,19 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2018 SUSE Linux GmbH - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - * */ #include <stdbool.h> diff --git a/tests/util.c b/tests/util.c index 4850ddcb..da192ba6 100644 --- a/tests/util.c +++ b/tests/util.c @@ -1,19 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2018 Benjamin Marzinski, Redhat - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - * */ #define _GNU_SOURCE diff --git a/tests/valid.c b/tests/valid.c index c5a1eac0..3f15ce66 100644 --- a/tests/valid.c +++ b/tests/valid.c @@ -1,19 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2020 Benjamin Marzinski, Redhat - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - * */ #define _GNU_SOURCE -- 2.50.0