Received: by 10.192.165.148 with SMTP id m20csp3165477imm; Mon, 7 May 2018 07:44:51 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr3vsLw6o0blX0cWMrRh+xkytov/48MvhxHnzY04QTDJJim1CJUTrh0AcOXwC0wpFTPPi3s X-Received: by 2002:a9d:230b:: with SMTP id j11-v6mr5634145otb.234.1525704291888; Mon, 07 May 2018 07:44:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525704291; cv=none; d=google.com; s=arc-20160816; b=UTKfGpCY8LQ401TgadJER5fDSt+hB7935s2vmrqEZrSUx7zquO7kJb0nZeBGkCbjTu gOXsm1rRXpJVx/u+u/e3PFcc1HFntNIs4lawy4yT8Uh4c4NsDDi9MnkcaYLJXXfWZ8yH 6dzt0kPJzdpa0Fm5RvmKIUqU1SVyzMvqZWIEwrjiclDJ5V0Gl77CVJPVtOJjI3/eCkWL fRkfLtclfhMpl8+FeQF8DLhefSJXNma10wA7Ekn73QpolKVFDSnCIM2htVctQ6n4cp11 EJLLWnmrhX8lq5l8Yo4z1fF9qfQDvoY9eTYXy7cutG8dZBOLpdvdBPcu9VdpOd9cqTd6 A1Ng== 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:arc-authentication-results; bh=+jwMN0FI0WB+WABgEvmi+ro2QaFuYp1DBXlIc+L3qRk=; b=QUnedwgsxePGztgHlSre8q6xQKNK/NTatsETJgE9tcYsAuVUN0QGPTJ2NZehooREi3 6h5p03NoxGo3u32SqnP/olnvkPJVWI9DBLPx4cJNTBRdzHIT35wZKmQG1eH0qburG6oD QC3mNWxtz7JU7LM2qJT2Qzb3cfeunUrJBP/ui6Ulavm8duZ+mEc1Tgz4QM1FNUd1Ac42 EQKAfsc4cVcxH77Z4yqieyUumgLNHf0E+EoWhCGUMKDjRjJL0MODE7DhD8nOoMFe83I1 QjikOi8I7+VKYLKCxnP7LR/m8WufbPQqB6xXLOgb1Ksycn4ySfS8pmbYuHAKB5iouhHx fCsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=e14GnAcq; 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 q128-v6si7983915oic.14.2018.05.07.07.44.29; Mon, 07 May 2018 07:44:51 -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=e14GnAcq; 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 S1752112AbeEGOkf (ORCPT + 99 others); Mon, 7 May 2018 10:40:35 -0400 Received: from mail-io0-f196.google.com ([209.85.223.196]:38432 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751926AbeEGOke (ORCPT ); Mon, 7 May 2018 10:40:34 -0400 Received: by mail-io0-f196.google.com with SMTP id z4-v6so34075302iof.5 for ; Mon, 07 May 2018 07:40:34 -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=+jwMN0FI0WB+WABgEvmi+ro2QaFuYp1DBXlIc+L3qRk=; b=e14GnAcq7IK9suLExuRlXs++jrfZTbndt3gllnnGZZJVvinvVGobNJdWRSPg15dDcW kB4Ot62jm6Ov03Pkfqp8yRe2Mp8KFg///G6xDDghMGEaSpKuP5FKA974ORiDSz5DbAXC JJEtHCUog/nwTLHlgRrOozhLmag5A8oULXJd9bBIi4UGCCLdjHNmrWW7WzQvD5UHSfjX VM1lF5IwoglCQqclicLtXtNPdxkibFDsd7Cu6p2TAg54Coin/siw8Mu/F/tZj4brIg+C UhRV1KxalPrdyJgEj9hFvhmOooIhoiIes/UfiMixwjIgVnN7jqOwtUKbKDZ+2pLQaztz XAYA== 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=+jwMN0FI0WB+WABgEvmi+ro2QaFuYp1DBXlIc+L3qRk=; b=ePeDzJAunBxGdkQgY1TJSWwbd3FsBXTaPdfM7JsPnvbCBNIhGC/80La0yvZwW+lyVk /kFoSzv5pps3166QqyrB6RsRjBdv9Txwd/TzLLUAhmmA+BkXp97U3r6Poe0kZ8fOQ6GB eGpb3QcgSsC0PkBtiyMWDfNp7I2ptxUDZmAMfGyxSaYCTibgHgt5sDJOFmsLLeB1S7D8 bo96DKAPLbjKDEjbQIszM0HncwBJLsKINLD81Sjevdlwj7Za1FO2noQJyXV+MH1tjEXf bh1Bu+XDHpo15W2/YkGRyb0ktiu05NYZFM5lCP/r8I324BO86AP1kNSSPD/1ikv2RbdB HIoQ== X-Gm-Message-State: ALQs6tAmiJvVuTGZg1Akm/OCwo94oP3C0DgD4l1qOSoaBYpCJlRuFuYy 8JTklqopU9P1RCg9yK6EvZg= X-Received: by 10.98.20.195 with SMTP id 186mr19469342pfu.92.1525704033024; Mon, 07 May 2018 07:40:33 -0700 (PDT) Received: from localhost (ip68-2-98-80.ph.ph.cox.net. [68.2.98.80]) by smtp.gmail.com with ESMTPSA id a77sm12189122pfe.70.2018.05.07.07.40.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 May 2018 07:40:32 -0700 (PDT) Date: Mon, 7 May 2018 07:40:29 -0700 From: Nathan Chancellor To: Laura Abbott Cc: devel@driverdev.osuosl.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, Greg Kroah-Hartman , Joe Perches , Arve =?iso-8859-1?B?SGr4bm5lduVn?= , Martijn Coenen , Todd Kjos , Sumit Semwal , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] staging: android: ion: Fix license identifier comment format Message-ID: <20180507144029.GA2084@localhost> References: <20180507011854.12627-1-natechancellor@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Mon, May 07, 2018 at 06:37:52AM -0700, Laura Abbott wrote: > On 05/06/2018 06:18 PM, Nathan Chancellor wrote: > > checkpatch.pl complains these are invalid because the rules in > > Documentation/process/license-rules.rst state that C headers should > > have "/* */" style comments. > > > > The SPDX markings are special, but I don't see anything from a > quick read of the SPDX specification that says they have to use //. > I think this is going to generate a lot of possible noise so it > might be worth adjusting checkpatch. > > Thanks, > Laura Under section 2 of "License identifier syntax" in the license rules file, it shows the preferred style for each type of file. Apparently there was some build breakage with // in header files so I assume they want /* */ for uniformity sake. Thanks! Nathan > > > Signed-off-by: Nathan Chancellor > > --- > > drivers/staging/android/ion/ion.h | 2 +- > > drivers/staging/android/uapi/ion.h | 2 +- > > 2 files changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/drivers/staging/android/ion/ion.h b/drivers/staging/android/ion/ion.h > > index ea0897812780..16cbd38a7160 100644 > > --- a/drivers/staging/android/ion/ion.h > > +++ b/drivers/staging/android/ion/ion.h > > @@ -1,4 +1,4 @@ > > -// SPDX-License-Identifier: GPL-2.0 > > +/* SPDX-License-Identifier: GPL-2.0 */ > > /* > > * drivers/staging/android/ion/ion.h > > * > > diff --git a/drivers/staging/android/uapi/ion.h b/drivers/staging/android/uapi/ion.h > > index 825d3e95ccd3..5d7009884c13 100644 > > --- a/drivers/staging/android/uapi/ion.h > > +++ b/drivers/staging/android/uapi/ion.h > > @@ -1,4 +1,4 @@ > > -// SPDX-License-Identifier: GPL-2.0 > > +/* SPDX-License-Identifier: GPL-2.0 */ > > /* > > * drivers/staging/android/uapi/ion.h > > * > > >