Received: by 10.223.164.202 with SMTP id h10csp692958wrb; Thu, 30 Nov 2017 06:01:33 -0800 (PST) X-Google-Smtp-Source: AGs4zMZZwcUs2hGk6Op6igH3XiBFKRd+dSpvq3Grc4G8gGpsvM0q7tlS9y1QBCvj3ow9HTe3ETcy X-Received: by 10.84.195.36 with SMTP id i33mr2666678pld.27.1512050493670; Thu, 30 Nov 2017 06:01:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512050493; cv=none; d=google.com; s=arc-20160816; b=gD0E6m/0pl/rETrh0hgOd7aALvdkxM90eoukPggTM5xP8IEq3lxTz4nvufsgmF53mp 3DpORHH1nVmdppzFJXfPRcfuZUaB+LnogsE4ImQTxeUAWb4nnRDyJLVISlEin3jhIbgH mhsPjeZgH9TAHDHHzxqfTuRCpEjP+tzhRNWRzMYOWZnfcGTbEEY+9sOjxmp4irFszk5n W/o6ftOQBCy6HyshznbSuXvebI0EpomZDPuRPEQp+WCYTrbC/v6zZq3dhKkauaN/DFzj zTnf7ovxw99uroOgmJuu72a+JA7meaNS2DYhnY1JLC2eX3qJ4RqK+3xBbDdhLh9syfM3 JlVA== 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:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=E8oncp9NykyvQLkQGrV08WnclcphsWyfrZrJbxflREw=; b=LLA4BlN1dxgMM2oomcW1NPHR65iYT/7w7kZC9tUrVljs/ZbMSH19wchXZlOaQPl+aZ qnz0L3oIGvSuN/5q0zS9nnCTdTcZN9xANoq1h9gCT3nf7WKBEr/LRO4q/wsP5+Q0ulpZ cEYSujeAMVvO8+BHX9SVgoEadtJ6EmKFzuN4655bGzVNKbvEsgg16cqavVIMUGwAQcJV 4fcNXx28FO5RFz0TZDgQMFaXx7xb7mGSRxJ8TMaV22iiTGd3u9326sHDL0J4hBZ7pyfL EVKTihan1wfbQpsfftExy4CwTEaDUYtRsjLDPR9V5MbjsZLO4KpD5T35oicwWe7zzOfV zRzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nexb-com.20150623.gappssmtp.com header.s=20150623 header.b=oqyZ9FGm; 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 h3si2991644pgr.714.2017.11.30.06.01.14; Thu, 30 Nov 2017 06:01:33 -0800 (PST) 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=@nexb-com.20150623.gappssmtp.com header.s=20150623 header.b=oqyZ9FGm; 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 S1752316AbdK3OAx (ORCPT + 99 others); Thu, 30 Nov 2017 09:00:53 -0500 Received: from mail-wm0-f51.google.com ([74.125.82.51]:40226 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751819AbdK3OAv (ORCPT ); Thu, 30 Nov 2017 09:00:51 -0500 Received: by mail-wm0-f51.google.com with SMTP id v19so12616130wmh.5 for ; Thu, 30 Nov 2017 06:00:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=E8oncp9NykyvQLkQGrV08WnclcphsWyfrZrJbxflREw=; b=oqyZ9FGmfvZxRLB6GXw1aYRTRa+7xSLRvViEpx4H/Q1GM6eUHWCPBQ1iGEJjV/XNjc j0xGDkbttJMM485w742lApwGW8m1SKhBR6AXhH+Jt2zPi8Uk7SwTXdsCfK2VUOcmz6Di Pb98gmhM4yV32bYI+6sFd91K7abIU2eHdm7DGrb+gbdexFvOeu/jNT8Iw2+nrq0hB+nE iGhsLifIxe+xX/ZhLW2gWQulEBK3b22YnOhGK86IrWCCP4Px910+GGhfUZRP9CE2/4xq Aqwi0m0HOXWAPJH+pKCTpMzLD6mIKXnkLve2eGpn+oBJHY+UwdeXeXWAYgJDjTcGu/D1 w84Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=E8oncp9NykyvQLkQGrV08WnclcphsWyfrZrJbxflREw=; b=F7iToxbl+W6Io45wfQ3Iosvc35W2q3V+gw5dkea05/B6ZSZ8tMXwL4H9Y4t52PZVFu OaD+7g9iJsHL9wd8nEFHANkRE41wSQKO35fnwf8GLlHkBVInf/ycpqxQAYOx9XexvANs nirKfxlGuSl8DREg27aTqcUO0uvGmdIdvXXRP9/Gt17EhVInV8ON73expHExKXwx2Rho m3cMs3JFIhTxyk1z/rOcRyF8qtDlBTqDdzYPN5+TwOm92empP8Ey5ka/J+c3H+Z6+gsg Whq5juDNS8ljTkSdjdQtO5rP2GPQGldXR/D0qn3Ha/qPrMGST4m2oB87u/WUPZfJUtkl +uiA== X-Gm-Message-State: AJaThX5B93scoy5mzR6uaWB/jQnzmDhMh/I56XBUPGtS+mtCEXz1diGU r4nv1BSwnkqImtmqT0ZPOkLfI3pFWAf/d31F980RXw== X-Received: by 10.28.26.139 with SMTP id a133mr681700wma.90.1512050449709; Thu, 30 Nov 2017 06:00:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.157.195 with HTTP; Thu, 30 Nov 2017 06:00:09 -0800 (PST) In-Reply-To: <3BB206AB2B1BD448954845CE6FF69A8E01CB531330@NT-Mail07.beckhoff.com> References: <20171128073927.12035-1-linux-kernel-dev@beckhoff.com> <20171129221114.GV21126@piout.net> <3BB206AB2B1BD448954845CE6FF69A8E01CB531330@NT-Mail07.beckhoff.com> From: Philippe Ombredanne Date: Thu, 30 Nov 2017 15:00:09 +0100 Message-ID: Subject: Re: [PATCH] rtc: add mxc driver for i.MX53 To: =?UTF-8?Q?Patrick_Br=C3=BCnn?= , Thomas Gleixner Cc: Greg Kroah-Hartman , linux-kernel-dev , Alessandro Zummo , Alexandre Belloni , Rob Herring , Mark Rutland , "open list:REAL TIME CLOCK (RTC) SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list , Fabio Estevam , Juergen Borleis , Noel Vellemans , Shawn Guo , Sascha Hauer , Russell King , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 30, 2017 at 2:36 PM, Patrick Br=C3=BCnn = wrote: >>From: Philippe Ombredanne [mailto:pombredanne@nexb.com] >>Sent: Donnerstag, 30. November 2017 09:18 >>> >>>> +/* >>>> + * Copyright (C) 2004-2011 Freescale Semiconductor, Inc. All Rights >>Reserved. >>>> + */ >>>> + >>>> +/* >>>> + * The code contained herein is licensed under the GNU General Public >>>> + * License. You may obtain a copy of the GNU General Public License >>>> + * Version 2 or later at the following locations: >>>> + * >>>> + * http://www.opensource.org/licenses/gpl-license.html >>>> + * http://www.gnu.org/copyleft/gpl.html >>>> + */ >> >>Exactly! >>And while you are it , you could replace the boilerplate license text >>with the SPDX id. >>-- > > How would a perfect header look like? > Looking at : > git show b24413180f5600bcb3bb70fbed5cf186b60864bd -- drivers/ > and: > git grep SPDX -- Documentation/ > > it could be: > +/* SPDX-License-Identifier: GPL-2.0 */ > +/* > + * Copyright (C) 2004-2011 Freescale Semiconductor, Inc. All Rights > + */ > or: > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Copyright (C) 2004-2011 Freescale Semiconductor, Inc. All Rights > + */ > > Personally I would prefer: > +/* > + * Copyright (C) 2004-2011 Freescale Semiconductor, Inc. All Rights > + * > + * SPDX-License-Identifier: GPL-2.0 > + */ > > So, is there any guideline? > > To be clear: I don't want to waste anyone's time on this. But as SPDX > was intended for automation, I think it might be good to try having > some common pattern here. > I don't want to start a discussion, so in case there is no guideline I wi= ll > just take the /* SPDX */ in firstline version. Patrick: There are several threads on the topic explaining why: Linus made it clear that he wants this, and on the first line: > +// SPDX-License-Identifier: GPL-2.0 Thomas: I tend to prefer as Linus pointed the // style throughout when there is only a license and copyright involved. Here this would mean: > +// SPDX-License-Identifier: GPL-2.0 > +// Copyright (c) 2004-2011 Freescale Semiconductor, Inc. All Rights Rese= rved. What's you take since you wrote the doc for this? And is there still some updates needed for this since your last patch set? Patrick: Side note a trailing "All Rights Reserved." in a copyright statement is never needed, even though customarily cargo culted by everyone, including me. Started in 1910, it become fully obsolete in 2000 thanks to Nicaragua [1] signing the Berne convention. [1] https://en.wikipedia.org/wiki/All_rights_reserved --=20 Cordially Philippe Ombredanne From 1585498718400219003@xxx Thu Nov 30 13:43:26 +0000 2017 X-GM-THRID: 1585295089263999685 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread