Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp115154yba; Wed, 3 Apr 2019 05:40:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqy65gc8KaFOeKjnc0W/WYtVPCgZOKfilu8GbL5MmLAMc9VwWFzu38Z6DyctPsDC0lspwMn9 X-Received: by 2002:a63:e004:: with SMTP id e4mr21101808pgh.344.1554295223470; Wed, 03 Apr 2019 05:40:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554295223; cv=none; d=google.com; s=arc-20160816; b=c2TDupLGG0Ayebl+nuta3E/UEo8dDE72w8tysJr8A0o/pNEIsStypeGvfHIigu453h tB0eajS5Zj1Iy4n9/DkFbrwgU2qyU8mJYPmKLKbXfqKVeKFJELny5WIqclUPs9pvpGpX 1S8CXdwDO1clkOdq4LZ2rebdxQCDpyKzKhKHrqDW4lHY0wviORR31N5FAITkvosysAJU 9i/6O/lJfdskkDFaEVep/7OHEunt+cOK8ECO//y61s0fKrOASRuBvrfUMmWtta7I+3D/ h4VLTbh/SFYCH29oqOIOc15wEtR/aqSJhI1HFXRmm5mV4t143ggMx24e0nPjH2jT0+WG fQ4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=xgQMxXBkLOuUj19gwYj/QYigabn1T7JzlpgpS9wY/K8=; b=wRjx+FgmuIYiIsKeT3g0zUDMzPLU+MaFjLQPYA++TfK4Ul7E7KJDisUNsCj8qXCOTl gdiyD5Bn5TpSGU6e1qBAGnoPZNkhgTvOu2MJ2JU9h0S2F9e1ynjbxVW4kl/itE/kGqBJ cHPMwLWp68nqirAdMkjcGv0jxjQadOEYaQ/eGqVeMEwHAiKlbBflbnWLqChfU9BS7Nop H5HUKW1k+MuNlZXFePH+ZNEuIZy/KQ12PJG5Dt2Yms8D0jezcRv81OpYeDijv2Qk2WFd TBOpwed21kR3EyFWdTEyJ4uwBaWkhtqMiJpUJlVJLaL8HEai3kZmvQ9KjRFA8LegAaJE S4Fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Lp8Y/el5"; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l73si812026pge.333.2019.04.03.05.40.08; Wed, 03 Apr 2019 05:40:23 -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=@gmail.com header.s=20161025 header.b="Lp8Y/el5"; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726585AbfDCMiF (ORCPT + 99 others); Wed, 3 Apr 2019 08:38:05 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:35274 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726097AbfDCMiE (ORCPT ); Wed, 3 Apr 2019 08:38:04 -0400 Received: by mail-pg1-f195.google.com with SMTP id g8so8280234pgf.2; Wed, 03 Apr 2019 05:38:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=xgQMxXBkLOuUj19gwYj/QYigabn1T7JzlpgpS9wY/K8=; b=Lp8Y/el5IaXiJl8EkumleL6QK8dwB1R0RyGAJ1Im1Rig3eJZ70GquxK6BAymf8JWMC cchVl5HFFQZnq2rkqw+A3DsDiyM4pdtKm9h+30QNYcxJ2wLiwn+UDFBVIFswtDoSMhOi 14Jjisrqsp+00CThmPydiDjwj1WciVaA8SoFk+6IhsqfAwd+J7qyfDRZXpoQipaikjo2 VsGc5oq1pFV977c9YixInVJDqVLl+8FQhxky9g6YlasEpiE7/P4PXO2yuP7hREPA5puC ndjnom8poOJmoJwDWhQ9OkOu5Kc5zqDliFoqfb+AxJGqeYhTFKiDlLPU7Y1xph852gvx rA4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=xgQMxXBkLOuUj19gwYj/QYigabn1T7JzlpgpS9wY/K8=; b=RP78oo3l0CKDWtEZLf0YxphLbeBd5PUQa3ULw7KUgalZlgGrQ7wWWADEl+b5O4qhuB 9AyLnCJZP8fgpMA4s7eZf6eSWbNwv3u8SJcilKGqyWY28J37EBf2msBs7s4UZylWXm9r pLdVWvBa/Pa6JnpJl8wLpHRtYRECW6dJhnQZPJsY88vEbky7c8U+2baGL+ZtI9UAupUb hIKjh/wuaQe/G6IradU7kGkpKZ3Ifd6qXamxG7lGfdBbasZuV4KMroPEYwDdT4fHyMpY pYfjpN80bZXzpAPUEBLsDcYAt9GyqeRZ6J+9A7uCgfuS8PJI3kTZ3Q9Tt/i6nHO2YoYS etdw== X-Gm-Message-State: APjAAAWGiyYtKjoXoh+qcnE1JWX8msrYRc/rFAu6VN9XYR8aEAesEud8 WXgMAkN1ijiU1zCAju9M4CI= X-Received: by 2002:a63:465b:: with SMTP id v27mr54781170pgk.165.1554295083162; Wed, 03 Apr 2019 05:38:03 -0700 (PDT) Received: from himanshu-Vostro-3559 ([103.77.43.209]) by smtp.gmail.com with ESMTPSA id k131sm31570588pfc.183.2019.04.03.05.37.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 Apr 2019 05:38:02 -0700 (PDT) Date: Wed, 3 Apr 2019 18:07:54 +0530 From: Himanshu Jha To: Nicholas Mc Guire Cc: Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , Hartmut Knaack , Peter Meerwald-Stadler , Greg Kroah-Hartman , linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] staging:iio:accel:adis16203: add SPDX license identifier tag Message-ID: <20190403123754.GB22738@himanshu-Vostro-3559> References: <1554284489-5023-1-git-send-email-hofrat@osadl.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1554284489-5023-1-git-send-email-hofrat@osadl.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 03, 2019 at 11:41:28AM +0200, Nicholas Mc Guire wrote: > Pop in the SPDX tag as the license is clearly indicated > as GPL V2 or later this should also be indicated with a SPDX license > identifier tag. > > Signed-off-by: Nicholas Mc Guire > --- > > chackpatch.pl was warning: > WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 > > Patch was compile tested with: X86_64_defconfig + SPI=y, IIO=m > STAGING=y, ADIS16203=m > > Patch is against 5.1-rc3 (localversion-next is next-20190403) > > drivers/staging/iio/accel/adis16203.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/staging/iio/accel/adis16203.c b/drivers/staging/iio/accel/adis16203.c > index 5cc96c80..cf9d41a 100644 > --- a/drivers/staging/iio/accel/adis16203.c > +++ b/drivers/staging/iio/accel/adis16203.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later SPDX-License-Identifier: GPL-2.0+ ? Documentation/process/license-rules.rst For 'GNU General Public License (GPL) version 2 or any later version' use: SPDX-License-Identifier: GPL-2.0+ The following should also be removed in this same patch: * Licensed under the GPL-2 or later. And lastly, MODULE_LICENSE() should also be checked, which appear to be correct in its current form. > /* > * ADIS16203 Programmable 360 Degrees Inclinometer > * > -- > 2.1.4 > -- Himanshu Jha Undergraduate Student Department of Electronics & Communication Guru Tegh Bahadur Institute of Technology