Received: by 10.192.165.148 with SMTP id m20csp3096941imm; Mon, 7 May 2018 06:38:34 -0700 (PDT) X-Google-Smtp-Source: AB8JxZra4w+cMS77yjl6NQyZHPVFGZMH2VAMU6BK4dW2A9DP5IrE3NdcfthTIOfKZZ0KPqotEb5s X-Received: by 10.98.156.147 with SMTP id u19mr36296569pfk.74.1525700314381; Mon, 07 May 2018 06:38:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525700314; cv=none; d=google.com; s=arc-20160816; b=sEZrjzyBC+GDKrCIw3bjivca/auV0C2gpIPrax/8HfffBrhL0gkDMORbuXbp02VI3F Sm4PI3ruV9MRMO7OcIy2dawV7TAbsLS7jmB0eRX4T67A6quZME40xMytCUej6/MxUykW r+44HATnEU5mAOxLKkajdExIshZsXmMw2I6qcmLjyT1XSHtwa2xrR8SCrKPw8WCZjXp4 nuqsJfrgtcqU0/Vl8RNEos+/n73HrhGup9HaSZTILN9P2X0szKZyjit0w9C4IVtiDoFF UVhqhXWutshApQUAK2D4cdWoYAyy5GBX3YbsGck5/9DjWj7EDGtZy/8MLVbqny0AvHYk u/bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=q2DyjxTR/0DZFOb6mRchGq5vqvxMMQ0Sc+kkAShMBY8=; b=RTS8t0QjEWbTBWPuzvgMGBeoqdgBJeVzDC8kAqNAikM2J3RGPn8Y1+1bUSDgzSUYf+ 6jIzKrGVlSeYb3dkTNqR5MUZxJmxOKHrCmVjPJ78nCUUsWNz1vwbwuMR8vTQVZ3HGsfT CZd2tVWkilQh16e0B+rUoYLb8CAT/4t4jD2WeIItQh5wNtZTOyBiwVrhUbgVm/xwnRIj m6e4YwZ4jtjjbUNayJYoPFX6EGLBpQIzggl+drBfLERnu+AP4pEXJnGN4lvmLw+g8V5f +bTQhRFG2Zs9fr+fBuA3tn6ocj3MsFuaw5ItDp5hyxQ/CA/b2Uf5TbEK/kEBrIPLDTlZ qn7Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g12-v6si22386957plt.304.2018.05.07.06.38.20; Mon, 07 May 2018 06:38:34 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752185AbeEGNh6 (ORCPT + 99 others); Mon, 7 May 2018 09:37:58 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:36495 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750732AbeEGNh4 (ORCPT ); Mon, 7 May 2018 09:37:56 -0400 Received: by mail-oi0-f67.google.com with SMTP id v2-v6so25123677oif.3 for ; Mon, 07 May 2018 06:37:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=q2DyjxTR/0DZFOb6mRchGq5vqvxMMQ0Sc+kkAShMBY8=; b=X+uJXh1NP88+PeNC88UPOvHJ7FH9pVRpFjqKr1bK2vEaKhVReArU5wyQeNhVPR7k6e BmiUeWDEGwA6tei43l0MtvWNeqDbMF7n+pfFi6tL+bEdbqvXdY1mcoJen1z5ZTMgaMZE +7y1tcDkikhZbAFYKID9qrBR64MpqM/myZi6TZtUe55vk/nXVSTbcqKnCTj8oaWUKpv3 zGDcwTxXthZUWBmQRyvNycsglZaud8hMajGhjCaOG8d3EAgrPDYn6UGAmjWoSEcgGQwA m/clkNW6gIEBAXsClFLgOGbtKkk/vwHO4XDwVOf+4s6Uax/LZde/7T8uP8XfVEAHoGIM GmjQ== X-Gm-Message-State: ALQs6tBitINyVt/otVA9Lb2gMNbN2mKV2m+TvAzOnVdZnpy9ZyE+xXig rBrywZDIGP5617c74MxtHvC+WGUqOqk= X-Received: by 2002:aca:2815:: with SMTP id 21-v6mr24575615oix.268.1525700275576; Mon, 07 May 2018 06:37:55 -0700 (PDT) Received: from ?IPv6:2601:602:9802:a8dc::d2dd? ([2601:602:9802:a8dc::d2dd]) by smtp.gmail.com with ESMTPSA id h11-v6sm15005293ote.72.2018.05.07.06.37.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 May 2018 06:37:54 -0700 (PDT) Subject: Re: [PATCH 1/2] staging: android: ion: Fix license identifier comment format To: Nathan Chancellor , devel@driverdev.osuosl.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, Greg Kroah-Hartman , Joe Perches Cc: =?UTF-8?Q?Arve_Hj=c3=b8nnev=c3=a5g?= , Martijn Coenen , Todd Kjos , Sumit Semwal , linux-kernel@vger.kernel.org References: <20180507011854.12627-1-natechancellor@gmail.com> From: Laura Abbott Message-ID: Date: Mon, 7 May 2018 06:37:52 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180507011854.12627-1-natechancellor@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > 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 > * >