Received: by 2002:ac0:8c8e:0:0:0:0:0 with SMTP id r14csp793199ima; Wed, 6 Feb 2019 08:26:07 -0800 (PST) X-Google-Smtp-Source: AHgI3IZpcHzJHNi8QBaxfA1EFDecYJsRO/rgTkkzf49YjsqRRgJjWScnmPBTPqmqaOyF5UAr6nSl X-Received: by 2002:a63:d34a:: with SMTP id u10mr77954pgi.301.1549470367102; Wed, 06 Feb 2019 08:26:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549470367; cv=none; d=google.com; s=arc-20160816; b=QvA2VuV5cCJQdrsHT0ht4Qjjl7XGpqu6YWKhptS9KZgTAo7+aIjkWqF6Y7RUPDwgdw pDbpa5dJPG6Hg6ZUta5tuLtARu6xkqpm6Yze6yGQb8uZE1kANGr0mB9CuOJzeDZGlX7O anYQjRp+iXZUC/bWLNEY/FtW2m2I00Z0nJoj9zcSzT6MbBy53MQSB2AsMhxJB8xofxPq kMx2+Py+UuTJSCkkceYJO/xWowfhIgx0okwHqtbaHIQbEW/WOG0e645cxjs9J4mXP5R6 nG+3Vj+IyBrNq14J/3YEVax4k4Je4/yX8PkspoW28SR86Leyv0V4TOeI3JpxlF9dDg4I PO1A== 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=6scfLjpyMcMa7YCr0wfuv8+GQxm6iy6cAaRfQ5aBxg8=; b=ie6lu6jTvPiD5Ppu0s/MQ8NpZ5I5z7S+NV92dvrCAzGWw0AqXZrha4YbxxNfcRCp5/ vAZJbw/YR0TDXJMSJObIXZM/cOBY9Y/SLFzxkSpv8gblnUustUzYPPWqICeaRRq0aUx5 s3u7+Xd9vFyYtACZL8JGSQXA6bimvgUaG2Z0ROSNUxZS9O8qMCWnehIW55ex8zd7VMjr xO0pEYLDUyccMLbCvnZZfXIpBKm4B1nxVyr9Og9M1SBuIthIbFsBcOUPYfKnqcBi1oLi 1is2H7QUoi3H/OiyOCiL8f4SCmSi1xQz4G91qFJu97Up5JjWNeV0thjS3b8FiOYr9T2H j+tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FOM4+8gt; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f39si6276285plb.369.2019.02.06.08.25.50; Wed, 06 Feb 2019 08:26:07 -0800 (PST) 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=@kernel.org header.s=default header.b=FOM4+8gt; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730825AbfBFQZb (ORCPT + 99 others); Wed, 6 Feb 2019 11:25:31 -0500 Received: from mail.kernel.org ([198.145.29.99]:34156 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730009AbfBFQZb (ORCPT ); Wed, 6 Feb 2019 11:25:31 -0500 Received: from localhost (mobile-166-177-186-135.mycingular.net [166.177.186.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BA3082175B; Wed, 6 Feb 2019 16:25:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549470330; bh=gBJo2qq6TmdmoK4ipaybcysTmY+mqn8LNmDGe47UC10=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FOM4+8gti2WqiMWUZi7L90YvEtNZu0vlF7/6PNR+zpqAJPiizCL06uhlIU8SnoZ0C 5+nx/2DcMDhQEoF/tsa0ioSCCgnz+6RfzwTySrPnaJg++b7jfQUcJf/G5BCZY6/4tr bZi1/oADGSbMitbP/+0MIpUqEzQv4gDfWbUgf8cY= Date: Wed, 6 Feb 2019 17:25:24 +0100 From: Greg Kroah-Hartman To: Joe Perches Cc: Nishad Kamdar , devel@driverdev.osuosl.org, Forest Bond , linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: vt6656: Use the correct style for SPDX license Identifier Message-ID: <20190206162524.GA22989@kroah.com> References: <20190205150620.GA17522@nishad> <20190205184431.GD22198@kroah.com> <7771453cf380ce43d906f6648edecd8b58fec38a.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7771453cf380ce43d906f6648edecd8b58fec38a.camel@perches.com> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 05, 2019 at 10:59:40AM -0800, Joe Perches wrote: > On Tue, 2019-02-05 at 19:44 +0100, Greg Kroah-Hartman wrote: > > On Tue, Feb 05, 2019 at 08:36:24PM +0530, Nishad Kamdar wrote: > > > This patch corrects the style for SPDX license Identifier in mac.h > > > by using "/* */" in place of "//" as per Linux kernel licensing rules. > > > Issue found by checkpatch. > > > > > > Signed-off-by: Nishad Kamdar > > > --- > > > drivers/staging/vt6656/mac.h | 4 ++-- > > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > > > diff --git a/drivers/staging/vt6656/mac.h b/drivers/staging/vt6656/mac.h > > > index 94e700fcd0b6..75166020f7c6 100644 > > > --- a/drivers/staging/vt6656/mac.h > > > +++ b/drivers/staging/vt6656/mac.h > > > @@ -1,5 +1,5 @@ > > > -// SPDX-License-Identifier: GPL-2.0+ > > > -/* > > > +/* SPDX-License-Identifier: GPL-2.0+ > > > > Should really be: > > > > /* SPDX-License-Identifier: GPL-2.0+ */ > > There's a fair number of style inconsistencies in the kernel > sources for that already. > > ~8% of the .h files that have an 'SPDX-License-Identifier:' > don't use the recommended style. > > $ git grep -h "SPDX-License" -- '*.h' | \ > perl -p -e 's@Identifier:.*\*/*@Identifier: ... */@; s@Identifier: [^\.].*@Identifier:@' | \ > sort | uniq -c | sort -rn > 8506 /* SPDX-License-Identifier: ... */ > 593 // SPDX-License-Identifier: > 154 /* SPDX-License-Identifier: > 53 * SPDX-License-Identifier: > 1 * SPDX-License-Identifier: GPL-2.0 > 1 //SPDX-License-Identifier: > 1 /* SPDX-License-Identifier: ... */ Then let's fix them, the documentation says what the correct format is, there's no reason we can't actually follow what is written...