From patchwork Thu May 31 17:10:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 137429 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp6846226lji; Thu, 31 May 2018 10:12:15 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL8kUUEzQDJqV0rXqSSUB87Mxc97bw1+2UUsabNHAHetSB/jM4YVsQsiq3PhDS9mCUpgw8Y X-Received: by 2002:a62:89db:: with SMTP id n88-v6mr7528709pfk.11.1527786735617; Thu, 31 May 2018 10:12:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527786735; cv=none; d=google.com; s=arc-20160816; b=lSgPYaAgu0m70UGH+sLo42a96jpO2CsJsR+qHOaPEEYt7t4Bj6ARQI6hsyFMyR+5Zr pKKRVN1aLjMIQ33Yv+9Kk7HnkswhqF6U0qgFNAFNpAuO+qzxTW80779gnthQrcze6o3D yDzCOVzg1CxwNFFqGcCHRWjRKW/ichoOuyKEPXZ4D0yNV3Zsj6rnnjBZSZa3X/kkEh1q TpgfQJ6AgtUL48WxrducTDXsL6oL+GdS8fNtZ+PehPPA5r8fqE/S18opoq80zWOpnK8Q Nd2KiXlBSN8Idws9DnifbQjfAI/nr2TNWAHgXmNLIaDTygM8IvLRyOSc5i+DlwlVEoYS f+UA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=0JuL/kah1/vj0vWYB2vta+E1wYiL3eqN2iCQCt+nOp8=; b=z+5an2T11jqci7k1sCzyPWW8tNCTRflaU4DAowA4M1isIFjMTdxNBN6MkXX+5Q8xHS zPJiteqmCBfXTLu1ij9Vd0bnMJ7WZHNVsYNzS13ma0ZdAkhKh4D9KoxdFFlbJkOdH+ug LhpLS+y36JKIeZy3cGEfqu2m/UaqPaodk50EagIQTRDdknJLwZViKHlAc5I4M/q64t6o HbTRa2AlG2Bk9BEWi4UNlo1qjdtOVTjSOjqtrcUq6kUQCFNCufTftPth8DO36MBuIk5m YAYswsurKIdbOB16h4jw02NLkD89gY7iloZm1KibASOhXHSKLu66t/TM8u7WAI3doRbm Rp1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Qmz1gsiJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z8-v6si24350447pge.271.2018.05.31.10.12.15; Thu, 31 May 2018 10:12:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Qmz1gsiJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755936AbeEaRMN (ORCPT + 30 others); Thu, 31 May 2018 13:12:13 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:60811 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755906AbeEaRL4 (ORCPT ); Thu, 31 May 2018 13:11:56 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id w4VHB5O5013245; Thu, 31 May 2018 12:11:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1527786665; bh=0JuL/kah1/vj0vWYB2vta+E1wYiL3eqN2iCQCt+nOp8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Qmz1gsiJhjyDV+ut6JiOYmLLp8vPCnzBno8Vj2UGZnkWdKqqQA1RoMbN5EwL0OJUh IJB8+rCJlqgaljGYwPMVVJnIA2f7xukntof3n4gozF1YibfrUhfBHCF35McL7J0S1f JLZ+ZUQxs6PWQgstAS6pZE8bvLe1wlkd1d6aF6vA= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4VHB5s7007526; Thu, 31 May 2018 12:11:05 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Thu, 31 May 2018 12:11:05 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Thu, 31 May 2018 12:11:05 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4VHB5bV002688; Thu, 31 May 2018 12:11:05 -0500 Received: from localhost (irmo.dhcp.ti.com [128.247.58.153]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id w4VHB5x16764; Thu, 31 May 2018 12:11:05 -0500 (CDT) From: Suman Anna To: Bjorn Andersson CC: , , , Suman Anna Subject: [PATCH 1/5] rpmsg: Switch to SPDX license identifier Date: Thu, 31 May 2018 12:10:59 -0500 Message-ID: <20180531171103.8703-2-s-anna@ti.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180531171103.8703-1-s-anna@ti.com> References: <20180531171103.8703-1-s-anna@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use the appropriate SPDX license identifier in the rpmsg core source files and drop the previous boilerplate license text. Signed-off-by: Suman Anna --- drivers/rpmsg/Kconfig | 2 ++ drivers/rpmsg/rpmsg_core.c | 10 +--------- drivers/rpmsg/rpmsg_internal.h | 10 +--------- include/linux/rpmsg.h | 27 +-------------------------- 4 files changed, 5 insertions(+), 44 deletions(-) -- 2.17.0 diff --git a/drivers/rpmsg/Kconfig b/drivers/rpmsg/Kconfig index 65a9f6b892f0..15e7b94dda5e 100644 --- a/drivers/rpmsg/Kconfig +++ b/drivers/rpmsg/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0 + menu "Rpmsg drivers" # RPMSG always gets selected by whoever wants it diff --git a/drivers/rpmsg/rpmsg_core.c b/drivers/rpmsg/rpmsg_core.c index 920a02f0462c..7a57753ad0a1 100644 --- a/drivers/rpmsg/rpmsg_core.c +++ b/drivers/rpmsg/rpmsg_core.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * remote processor messaging bus * @@ -6,15 +7,6 @@ * * Ohad Ben-Cohen * Brian Swetland - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. */ #define pr_fmt(fmt) "%s: " fmt, __func__ diff --git a/drivers/rpmsg/rpmsg_internal.h b/drivers/rpmsg/rpmsg_internal.h index 685aa70e9cbe..0d791c30b7ea 100644 --- a/drivers/rpmsg/rpmsg_internal.h +++ b/drivers/rpmsg/rpmsg_internal.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * remote processor messaging bus internals * @@ -6,15 +7,6 @@ * * Ohad Ben-Cohen * Brian Swetland - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * 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. */ #ifndef __RPMSG_INTERNAL_H__ diff --git a/include/linux/rpmsg.h b/include/linux/rpmsg.h index ca07366c4c33..9fe156d1c018 100644 --- a/include/linux/rpmsg.h +++ b/include/linux/rpmsg.h @@ -1,35 +1,10 @@ +/* SPDX-License-Identifier: BSD-3-Clause */ /* * Remote processor messaging * * Copyright (C) 2011 Texas Instruments, Inc. * Copyright (C) 2011 Google, Inc. * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * * Neither the name Texas Instruments nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef _LINUX_RPMSG_H