Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp727100imm; Tue, 5 Jun 2018 03:34:27 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJmJwusiR0557h3mFSpkIec/O1wRqCDau9RayodlyK6DDhcLKSdcZGjZlLItyVyemPzBU3c X-Received: by 2002:a62:3085:: with SMTP id w127-v6mr25069686pfw.224.1528194867578; Tue, 05 Jun 2018 03:34:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528194867; cv=none; d=google.com; s=arc-20160816; b=dCF+KJKz6IrvBgVtaFY1sGfyqxA/Ubyygw+IBdqoSsjb7s+uhQCvZP7obNIEwHC8ut AyJxW2uuGlObpTvValenlBeAkTA0QJ8vsHznqqqylf4x0HWrUlltVxInddfiKwXK3tau RZmKrP83J6chk831W12mURQdYVCwdnmr+mobcoTpqLHwiJWdmX9CjeJt+GD/UnTZg1rR 7xl9wtLlOiAtA9Ttrx2qZH/TaviV+3m6De7eVeYvAqzH8eVq/jl8V0oGZhCC4vv+CniU iaKJFh3K/w3IHxsDRCJrhWmPO6z/9MGzTKLzaLhynmNBNiO3M8n+7NqfMYBY5cskn+jA n2qQ== 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:mime-version :references:in-reply-to:organization:message-id:date:subject:cc:to :from:dkim-signature:arc-authentication-results; bh=DiCQSpq8w6Q2fFprNucPkBn7GtPUVkXkxkB8J2kkPPU=; b=EN0BDQVZuZYyqgT5G46EcmLORs49rHiXKIw4A9fTdgXkixjOlYuMqkhgBES7hdAwtS Jfoi97VRheI1dOzk6r1SuccA22KI0xt7MmOv0+lOQVzhXhhTbGg/WDmtGKMqOz95ra7v 1xBx7kBcXVYl9R4CUeviHiaueSuzAtNuL1ERmWuh8yzQNXqiYtvf9Hjt3p7jj9tvpQZ5 RXwN3NfljDafgDe1hPkkDIL2KbCa/vYqsURqxOEWhys00g701/5rBeww/eU+iBCz3h/R +W395dZm9wXeDyG+mG2QDLmSwpvomd8X68dW/uK3fERKMW15ZrIqgM8dWkwHYidSKkhC k13A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=hBkjajAE; 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 r8-v6si33494140plj.40.2018.06.05.03.34.12; Tue, 05 Jun 2018 03:34:27 -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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=hBkjajAE; 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 S1751788AbeFEKdo (ORCPT + 99 others); Tue, 5 Jun 2018 06:33:44 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:35840 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751696AbeFEKdj (ORCPT ); Tue, 5 Jun 2018 06:33:39 -0400 Received: from avalon.localnet (dfj612ybrt5fhg77mgycy-3.rev.dnainternet.fi [IPv6:2001:14ba:21f5:5b00:2e86:4862:ef6a:2804]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 8937A1A87; Tue, 5 Jun 2018 12:33:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1528194818; bh=PFT+JCeaT0PDdwP11u1nq0I/BzUGZ5Y1HeJHzpeWcUQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hBkjajAENFG7pS/yrbi1/2GdIbZ4OK3OCf5yDiHr+w1p/qrRiYbggLZXP92Nx266n nYgVmIc6Rat9K9Pr1dwGBuIXnImzcgNcQW8CkQdoPgjY4FgwE1jCPjkNBrdWSovhdt mHp5pbgd+mK6o0jyOLWEwv3JRQ3WuaHHbreBtXvQ= From: Laurent Pinchart To: Enric Balletbo i Serra Cc: linux-kernel@vger.kernel.org, kernel@collabora.com, Andrzej Hajda , Archit Taneja , dri-devel@lists.freedesktop.org, David Airlie Subject: Re: [PATCH] drm/bridge: analogix-anx78xx: Switch to SPDX identifier. Date: Tue, 05 Jun 2018 13:33:49 +0300 Message-ID: <4268268.FVg14MziXp@avalon> Organization: Ideas on Board Oy In-Reply-To: References: <20180605100051.4023-1-enric.balletbo@collabora.com> <1896069.8N7yzJMC7C@avalon> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > >> #include > >> #include > >> #include -- Regards, Laurent Pinchart