Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp757358imm; Tue, 5 Jun 2018 04:06:08 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJDnrDbTE8fAe66ZF2gFomLT5JTDVAwSs8ez+aXnjFlC6jRYl7KuJ547QBNJ1yzi2BFsjzK X-Received: by 2002:a62:e53:: with SMTP id w80-v6mr25377699pfi.236.1528196768354; Tue, 05 Jun 2018 04:06:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528196768; cv=none; d=google.com; s=arc-20160816; b=m5Iva2WACzHtzuDQwJqNTi1lHsZ1e5+aqxMc1qny2rzgu3Hzd0XVN8kd9P+Ovupr/g tQ7bmsUizgDI2QeFCBv9ZdZe6vI63XzYUyFx+t4IquV3REP+AC7RwCB8Z9aZr20LTPPk fkdfzJVnrJuw/M6gpiBI1iZn0iIYG/ZITmW3QOZq3xpFFmK5Ns7mfl+ktxPEnzEMWh+H 2Ed8trfwN8gwFeKEzuUUgdawmvs7nkW7tcd8cxwZ0akmi8GmIxZ93tOrviPbNseQWTsa wbAfR5EBnBR8t6Nlw8oHTLuDRpJPXLFuHMGc0wIzYNnm+j1VM6WLYsZASkNFwNU6MhbE h2cA== 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=p5v7Q8J5S0ppFMUqfoJf1dU475zgnLjHK4vmFqxbehI=; b=bsMz6MB4alRY4MN6/jmbp6osaX9+dSXhxBoe7MlfkDHzKyphpr6msWbXosILautFXn mNi7f1qn5Irr3WxTLiO/EIQGSosSL0jvfBaA1pve7XZEouvq8Ou7OBXEMskmNtN6VYGb GS9vg8wGbLocCiImyemK3d9SfRU2v5pLErkrOYseM1weJUOvKio9guDcKQDihLRUKh8O +1Bj7qe279+tPPE8bFD4YXiLG0fNM3QAnxcPTt2cuXZg5ys1PVw+Ma1JGeeCFSpA9gf9 lQzk/dEPOBNdkxKTpLCGvAXu7bnIe5kUFeJBHBr9LBLbF6G5v7WVKMn+3APmIUbAuTkk 6Z+Q== 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=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o32-v6si11874935pld.430.2018.06.05.04.05.53; Tue, 05 Jun 2018 04:06:08 -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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751816AbeFELFc (ORCPT + 99 others); Tue, 5 Jun 2018 07:05:32 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:48686 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751674AbeFELFb (ORCPT ); Tue, 5 Jun 2018 07:05:31 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id 6D5DB263BCA Subject: Re: [PATCH] drm/bridge: analogix-anx78xx: Switch to SPDX identifier. To: Laurent Pinchart Cc: linux-kernel@vger.kernel.org, kernel@collabora.com, Andrzej Hajda , Archit Taneja , dri-devel@lists.freedesktop.org, David Airlie References: <20180605100051.4023-1-enric.balletbo@collabora.com> <1896069.8N7yzJMC7C@avalon> <4268268.FVg14MziXp@avalon> From: Enric Balletbo i Serra Message-ID: Date: Tue, 5 Jun 2018 13:05:19 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <4268268.FVg14MziXp@avalon> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, On 05/06/18 12:33, Laurent Pinchart wrote: > Hi Enric, > > On Tuesday, 5 June 2018 13:27:06 EEST Enric Balletbo i Serra wrote: >> On 05/06/18 12:11, Laurent Pinchart wrote: >>> On Tuesday, 5 June 2018 13:00:50 EEST Enric Balletbo i Serra wrote: >>>> Adopt the SPDX license identifier headers to ease license compliance >>>> management. >>>> >>>> Signed-off-by: Enric Balletbo i Serra >>>> --- >>>> >>>> drivers/gpu/drm/bridge/analogix-anx78xx.c | 24 ++++++++--------------- >>>> 1 file changed, 8 insertions(+), 16 deletions(-) >>>> >>>> diff --git a/drivers/gpu/drm/bridge/analogix-anx78xx.c >>>> b/drivers/gpu/drm/bridge/analogix-anx78xx.c index >>>> b49043866be6..54d7e7981bed 100644 >>>> --- a/drivers/gpu/drm/bridge/analogix-anx78xx.c >>>> +++ b/drivers/gpu/drm/bridge/analogix-anx78xx.c >>>> @@ -1,19 +1,11 @@ >>>> -/* >>>> - * Copyright(c) 2016, Analogix Semiconductor. >>>> - * >>>> - * This program is free software; you can redistribute it and/or modify >>>> - * it under the terms of the GNU General Public License version 2 and >>>> - * only version 2 as published by the Free Software Foundation. >>>> - * >>>> - * This program is distributed in the hope that it will be useful, >>>> - * but WITHOUT ANY WARRANTY; without even the implied warranty of >>>> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >>>> - * GNU General Public License for more details. >>>> - * >>>> - * Based on anx7808 driver obtained from chromeos with copyright: >>>> - * Copyright(c) 2013, Google Inc. >>>> - * >>>> - */ >>>> +// SPDX-License-Identifier: GPL-2.0 >>> >>> This looks good to m. >>> >>>> +// Driver for ANX78xx SlimPort transmitter. >>>> +// >>>> +// Copyright (C) 2016 Analogix Semiconductor. >>>> +// Copyright (C) 2016 Google, Inc. >>> >>> Should the last line be 2013, not 2016 ? >> >> Yes, my bad. >> >>>> +// >>>> +// Author: Enric Balletbo i Serra >>> >>> I don't think there's a need to convert the whole comment block to >>> C++-style. >> >> Seems that putting everything as // is Linus Torvalds' preferred style: >> https://lkml.org/lkml/2017/11/25/133 >> >> But if you want I change, I don't mind to use the c style instead, just let >> me know. > > As usual with coding styles, it's a matter of preferences, feelings, and > getting used to changes. I personally dislike C++-style comments in kernel > sources. The fact that we have few of them makes them seem out of place, and > thus disturb code reading. My preferences might change if the style becomes > more prominent and I get used to it. Or maybe not :-) > > This being said, I'd personally keep changes minimal here, and give the last > word to the driver maintainer(s) as for any coding style matter. > Thanks to share your opinion. For coherence I'd personally use the // style, for two reasons. The first one is because I already sent some similar patches for other drivers/files I am maintaining and I used this format. The second one, is because I have received some complaints (on other subsystem) when I used the c-style format. But again, I'll let the final decision to Archit and Andrzej as drm/bridge maintainers and send a v2 after know his opinion. Best regards, Enric >>>> #include >>>> #include >>>> #include >