Received: by 10.192.165.148 with SMTP id m20csp3284539imm; Mon, 7 May 2018 09:36:28 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp876VM8WRtvNuz+isejQhXQsAQcml0Ke6vIOc+hQ0O3fdPaDIkcEkExMthwQ2nSO/aeyOn X-Received: by 2002:a24:46d4:: with SMTP id j203-v6mr1903972itb.131.1525710988571; Mon, 07 May 2018 09:36:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525710988; cv=none; d=google.com; s=arc-20160816; b=UTwTQhsynUTectuxgcAMADmmLoWlu88i+1pC93eT0eDVRIgW/NCjIff6Jl/ix1oI+t Yjlsw13WEUNARh3y0nlyeYD6n4WYihKUQq0ob1F2QOHhS1Pj0fHvVsGDrdp6px7rPO3c 7+mOdDynU3HQlnjLRp7w5ijasCwLVrGOwcnTlxcdM9SpBkpl+BqKd6FHeJj0RpAjXquK VVHw4lz4R0gsiWQab9GlUciMNtelWIJz5meaIYqzW+X36Q6MwN0bwXCyX9mHIH9TPnLT MLh8TpIRWPQoqQgvH3Lw9NC/xN/Jb4FG31vuvcP49musfUvIBlYKe1O701pjn1hPec6Z H2aw== 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=fszeVPylOXNu6DlauVsaIcoQW097apb5J4OLqO2l9lc=; b=VEDEozQL3VjYa4WEuS+Uwkq2SzXT4YasAtTfEcQ3Zj2yMR0AseejNOoBsrv6P7D9SQ Lui9wfFbH14AyT21mcx/3QDskBN8tGA7Jwtt/NN2TRxiO5Oy8Sp93ZcrQHOzSSmVbuUE Riyq0nRIhzNFum7yMB0Dde9jlijepmwyqSddRyyJEPwTUjIH53VFdCi/0i5boQg4Ekuu 7fJCvd5cOahzTd2tFf053/R3SFiEsX8p7at8MIPP7LEbPNMPuvdeZz5pj+P2BQajDOlb vL+ExbxS+1TpCLXnn6qu4e37IYoZwd+3W0/ja1nlTx5INC0fDmweRCXYl89v8ToN51aI kTZQ== 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 t124-v6si4789902itf.105.2018.05.07.09.36.15; Mon, 07 May 2018 09:36:28 -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 S1752490AbeEGQei (ORCPT + 99 others); Mon, 7 May 2018 12:34:38 -0400 Received: from mail-ot0-f194.google.com ([74.125.82.194]:41836 "EHLO mail-ot0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751923AbeEGQeh (ORCPT ); Mon, 7 May 2018 12:34:37 -0400 Received: by mail-ot0-f194.google.com with SMTP id t1-v6so32686901oth.8 for ; Mon, 07 May 2018 09:34:36 -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=fszeVPylOXNu6DlauVsaIcoQW097apb5J4OLqO2l9lc=; b=HVAbjr34UEIsPWY3KOod4gFO7d1Y2IwZo23ddnw32Qm76FTTBetHBiRGjZc79M0N4u +DkGmDkafanXISikzbwngUiowDJLVTvAo1jb9HE/VaQa8nVJTflxBuqvSbHHdmzHX78S irnDs/naHNabJs0NDG57aFwS1Bwf1nvNQNsTyLd1kdNMAwf2uxuiAUsBj0pfTou9nOaD sd63j87vzWQaCxgIa1iadyztvEK16gCEntTvdf210BWXmtdbMn1qh04G44kwLKKWuuUs uCPMn38/8C3mbcNY1xMSZAtaADljx/FfUF+YHyll5fCW6zpLFfqL2R3MgvuWReu98sJy VgTA== X-Gm-Message-State: ALKqPwejSs22Rj2NAQRb2d3PF8kzL/ql6w65IvNX569gM7/UjPCM4zr7 3SaRLOqMgS7Z5ojVpZLglLxgKEAO74g= X-Received: by 2002:a9d:32b5:: with SMTP id u50-v6mr103632otb.85.1525710875666; Mon, 07 May 2018 09:34:35 -0700 (PDT) Received: from ?IPv6:2601:602:9802:a8dc::d2dd? ([2601:602:9802:a8dc::d2dd]) by smtp.gmail.com with ESMTPSA id x4-v6sm14883323otx.54.2018.05.07.09.34.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 May 2018 09:34:34 -0700 (PDT) Subject: Re: [PATCH 1/2] staging: android: ion: Fix license identifier comment format To: Nathan Chancellor Cc: devel@driverdev.osuosl.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, Greg Kroah-Hartman , Joe Perches , =?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> <20180507144029.GA2084@localhost> From: Laura Abbott Message-ID: <88b8b963-eb6d-0912-b17a-dc33cf5449c0@redhat.com> Date: Mon, 7 May 2018 09:34:33 -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: <20180507144029.GA2084@localhost> 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/07/2018 07:40 AM, Nathan Chancellor wrote: > 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 > Ah thanks for pointing me to that. I parsed your commit text completely wrong. My biggest concern is being consistent and not breaking anything so assuming this patch aligns with that: Acked-by: Laura Abbott >> >>> 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 >>> * >>> >>