Messages in this thread Patch in this message |  | | From | Christophe JAILLET <> | Subject | [PATCH v2] locking/lock_events: Fix license version | Date | Sun, 25 Sep 2022 16:47:47 +0200 |
| |
SPDX-License-Identifier is GPL-2.0, but the license text states "either version 2 of the License, or (at your option) any later version."
So update the SPDX-License-Identifier to GPL-2.0-or-later.
Remove the license text as well. It is useless now.
Fixes: ad53fa10fa9e ("locking/qspinlock_stat: Introduce generic lockevent_*() counting APIs") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> --- kernel/locking/lock_events.h | 12 +----------- kernel/locking/lock_events_list.h | 12 +----------- 2 files changed, 2 insertions(+), 22 deletions(-)
diff --git a/kernel/locking/lock_events.h b/kernel/locking/lock_events.h index 8c7e7d25f09c..ba17c5be3c2b 100644 --- a/kernel/locking/lock_events.h +++ b/kernel/locking/lock_events.h @@ -1,15 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* - * 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. - * * Authors: Waiman Long <longman@redhat.com> */ diff --git a/kernel/locking/lock_events_list.h b/kernel/locking/lock_events_list.h index 97fb6f3f840a..7430ecd1fbc6 100644 --- a/kernel/locking/lock_events_list.h +++ b/kernel/locking/lock_events_list.h @@ -1,15 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* - * 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. - * * Authors: Waiman Long <longman@redhat.com> */ -- 2.34.1
|  |