Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp2742116pxb; Mon, 6 Sep 2021 04:30:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzC770K5c22y+gVc2qdb/Ms+MrMoX0Mx/q/4ulFNMQnX/vbpSrGp12zgrdj68oGYlwDg2c3 X-Received: by 2002:a05:6402:3190:: with SMTP id di16mr12669392edb.211.1630927855037; Mon, 06 Sep 2021 04:30:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630927855; cv=none; d=google.com; s=arc-20160816; b=0o8eWRLR8E0s7FwH93iocxpjl3qchucLpCarZEaE2fsaRxU6RuC9KiYaaDh30V56+b mE5UudAr3b0UEEok7wECJl2R/PuNiKk6ZZIImIdcINuIw1j8uvBebEcj7fyETd7ZiV5l SbEf5o8O+y2SO0lWUYoWTU6UN43XnVudownIBCO5TGjt12uzci+d+RfEDTwqAUk3OhUp G+a+z/XaW3j+gq2tTAEM4aANG8Xcs+ZOYuFTYPAL7UhJ0Ru27ExTWVwW/P3UPbNUyACx nMFuQpS7Lc6+SJnJKLCnl5BLWik5WITademCNjLzKnagpDN5PLukclv52VtwSu1t0xXB KFMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=IRZQ9a+Qvz/02u8WKfELhO/03994Yz8p7KYgdKFE2Sc=; b=ZBWMqovhQ6HtZYy80sJqPzbhwdzoO4BguYO52fvkt/0pqtNPVuctARLipwco3FnYmL zkfFUGwxVl8P0hkB4L8zSgliB+ZHxG6nvke0foo2FPBhiVtXhlUsJB2QxnA01yVywwk3 ZXluBVwxutfVHT9xnq+8dBCEBza1iRTBwHCa/gWjSto9yMGlZBGtoef65vtF0MYaG32h HFLQzAiwlbYgzHUEqGqruMeEMsljEJvfmmf5H48TyMlPl4OxejHRaObxMaxCN3wwQxJa 7PsZAfaHnHPzFs+PgZ75slvVwLxXwU1BYkiKqwkI3HRstV8SHzjP29snkiKW2fwnSUTI 2Hnw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r17si7674180edv.508.2021.09.06.04.30.30; Mon, 06 Sep 2021 04:30:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236388AbhIFLYY (ORCPT + 99 others); Mon, 6 Sep 2021 07:24:24 -0400 Received: from mx20.baidu.com ([111.202.115.85]:40390 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S241354AbhIFLYV (ORCPT ); Mon, 6 Sep 2021 07:24:21 -0400 Received: from BJHW-Mail-Ex11.internal.baidu.com (unknown [10.127.64.34]) by Forcepoint Email with ESMTPS id 81BDD6BC8BE2EDBD5A51; Mon, 6 Sep 2021 19:23:10 +0800 (CST) Received: from BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) by BJHW-Mail-Ex11.internal.baidu.com (10.127.64.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Mon, 6 Sep 2021 19:23:10 +0800 Received: from LAPTOP-UKSR4ENP.internal.baidu.com (172.31.63.8) by BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Mon, 6 Sep 2021 19:23:09 +0800 From: Cai Huoqing To: , , CC: , , Cai Huoqing Subject: [PATCH v2] kernel: debug: Convert to SPDX identifier Date: Mon, 6 Sep 2021 19:23:02 +0800 Message-ID: <20210906112302.937-1-caihuoqing@baidu.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.31.63.8] X-ClientProxiedBy: BC-Mail-Ex30.internal.baidu.com (172.31.51.24) To BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org use SPDX-License-Identifier instead of a verbose license text Signed-off-by: Cai Huoqing --- v1->v2: change GPL-2.0 to GPL-2.0-only kernel/debug/debug_core.c | 5 +---- kernel/debug/gdbstub.c | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/kernel/debug/debug_core.c b/kernel/debug/debug_core.c index b4aa6bb6b2bd..da06a5553835 100644 --- a/kernel/debug/debug_core.c +++ b/kernel/debug/debug_core.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Kernel Debug Core * @@ -22,10 +23,6 @@ * * Original KGDB stub: David Grothe , * Tigran Aivazian - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #define pr_fmt(fmt) "KGDB: " fmt diff --git a/kernel/debug/gdbstub.c b/kernel/debug/gdbstub.c index b6f28fad4307..9d34d2364b5a 100644 --- a/kernel/debug/gdbstub.c +++ b/kernel/debug/gdbstub.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Kernel Debug Core * @@ -22,10 +23,6 @@ * * Original KGDB stub: David Grothe , * Tigran Aivazian - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include -- 2.25.1