Received: by 10.223.176.46 with SMTP id f43csp4009948wra; Tue, 23 Jan 2018 02:48:49 -0800 (PST) X-Google-Smtp-Source: AH8x224/RlANuAC5b0ljLekthcLmyIn7AjEAbwKjwQzor+dpRLawABYBtdRFBo3cygOj3qR7JOpG X-Received: by 10.99.135.195 with SMTP id i186mr8442779pge.418.1516704529042; Tue, 23 Jan 2018 02:48:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516704529; cv=none; d=google.com; s=arc-20160816; b=CzrRUY8S1jB/0litDEv/ElRxEpXKY6C6JciYiErbIdOhYVdm2YsQcHXM9ocX1V8kOK NdBHrOUBE4HIEfYZS4teejXNsG6mzEEnKkqB5QOvRlnXCZjOa8sRcGIlHurNE5mLjMMN AkE4gVjuGGVCUr8/Np8DFNfBSSIZyQ/fxnhiVSj3bCW/3aWX0i+ijSDH+Eth0XlzuDzc 4EbfuApbUeyDrf5VJ0DFOLxVhDW/hMMP5p7jM4u1hIXeepUtfy+dMUFux8U3p+2oDiD5 buyqNfCoEBzdcfLa85t9tqYlA0rR6wUdtPQGVKUWTzgLEknR5fIdTANfPJCZKMLE1ocZ o8Nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :mime-version:dkim-signature:arc-authentication-results; bh=XMDjFo7Z9kaT7fIuvmK4rgcQJnnXh46/IwOsvlWKq7o=; b=pwKms49bxTi7QVb+mJXWsFjj0HTH6v4qHbWujGF45/vqJeumHaV1OEHEBK5DOLUT19 p0taQF05jhTpI4gXMnZJqmb+kRGmjdz+KivtjPmcHc4dlwEPPUUT2mMyXMWNKtTr2ikv RWR4P0Cw+NNSHzg6QWDNdh3yRifwGIg7QSisuLnc9KI+HDV+QnfOQrrTURQB6KyWDupn flCy9S5Yglfwo+74Ak1IAOf1twLrvjx6XRfjiRQZEpt3yrYusjuJdAcOtcSMajFLMrvL hNIkNR6wkMD0Nhupz6P3jUB4m/qVePRs46oWqrDPmjpHAdFcDDX9VqUPudiu2v8z9iDM 7PiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nexb-com.20150623.gappssmtp.com header.s=20150623 header.b=vx5RZ55u; 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 a2-v6si4520673plp.475.2018.01.23.02.48.34; Tue, 23 Jan 2018 02:48:49 -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=vx5RZ55u; 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 S1751452AbeAWKrN (ORCPT + 99 others); Tue, 23 Jan 2018 05:47:13 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:36195 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751234AbeAWKrL (ORCPT ); Tue, 23 Jan 2018 05:47:11 -0500 Received: by mail-wm0-f66.google.com with SMTP id f3so961736wmc.1 for ; Tue, 23 Jan 2018 02:47:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:cc; bh=XMDjFo7Z9kaT7fIuvmK4rgcQJnnXh46/IwOsvlWKq7o=; b=vx5RZ55u133Ft03dOvRt3LuDoeYQLNtBJkQ5vnnUqsXs5bxaP6+cZ++BKmcWkaEPVL Wk1khUp0SnXjv+qaXd8MtNtj5+A3YKZcnSOKL2/yFX3ozTVUfacKwy6mLsIQXYejZ2QM xrrcCipc7Mcb9+/0b/7nLVt9qtL7S3IjLV3qoju6NgQz8mQzQMf11a1MZgoXCy4s2Ruy 4zYfcngDvzLraL1Sp2hnBs7Bq/a1kxGndbv6zgeskKd86PgYa+8NCa/565XwMDfm45iE Ei33Na8cdFOKlJMBle5RiRbhggXOedLBSdZe7zOBKkrK/QvG5VIjctFnCL5GcIeh2o7P 65tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=XMDjFo7Z9kaT7fIuvmK4rgcQJnnXh46/IwOsvlWKq7o=; b=n5Vikqjn5AyDq3MRKd9Jq3G2lbQee+4aEbPyIgAi6mf80oL/xvHozFrHLEkB41MSyh Nnp4GU47TZ94CJRmLblEJXUMw3ne1kJF337I5LOgY/mkpdcb2R0TIGHx+F8Gh/VKLWvH q3OYBuFqOI1aLNQ4eSBVEwWWzNnf52lWkRdEhcIJ1BJC9NISiRHUTTj+qg4NB+crIUJ9 3wYo4s1RL61o4zQQiNkWeYGavN8HXbQCJOxiEyNAsTyfYC/2StcytT/U/ttXJ+cnWri1 d3w5CcqIxLDUElXjryJhgqU3J3ns6xdzPsFFxUh6m5IrIpGdeGzPt1NZOTkpEylI+mEV wRPQ== X-Gm-Message-State: AKwxytdakKAq+eGSFH4Lp2xjR/ZCxL0jv+oAogNzLebkLArDjlX1otyj WoqD8sH9fjnqTIlAYS7goaTCR+lzEL4BiRlK/MxxAw== X-Received: by 10.28.192.24 with SMTP id q24mr1561977wmf.96.1516704430699; Tue, 23 Jan 2018 02:47:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.175.81 with HTTP; Tue, 23 Jan 2018 02:46:30 -0800 (PST) From: Philippe Ombredanne Date: Tue, 23 Jan 2018 11:46:30 +0100 Message-ID: Subject: Re: [PATCH 05/12] arm64: dts: mt7622: add PMIC MT6380 related nodes To: Sean Wang Cc: Rob Herring , Matthias Brugger , Mark Rutland , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-mediatek@lists.infradead.org, "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , LKML , Mark Brown , Greg Kroah-Hartman Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sean, sorry for the late reply and thanks you for this research. On Fri, Jan 12, 2018 at 4:33 AM, Sean Wang wrote: > Currently, I'm really confused about what usage STYLE of SPDX license > identifier I should use for each type of file. > > could you point me where I can find the related document describing SPDX > usage style for those files expected by the community in the future? The doc is in this patchset [1] [1] https://lkml.org/lkml/2017/12/28/326 > I found more than one way STYLE of SPDX present at current code, for > example as below. If there's no absolute definition for them, and then > which way that is better? > 1) > for *.dts, applied with "// " at head or within " /* */ " not at head > such as > > arch/arm/boot/dts/bcm953012hr.dts:2: * SPDX-License-Identifier: > BSD-3-Clause This is a "style bug". The comment style for .dts should be // > 2) > for *.c, applied with "// " at head or within " /* */ " not at head > such as > drivers/soc/xilinx/zynqmp/pm.c:10: * SPDX-License-Identifier: GPL-2.0+ This is a "style bug". The comment style for .c should be // > 3) > for *.h, applied with "// " at head or within " /* */ " at head > such as > drivers/usb/dwc3/gadget.h:1:// SPDX-License-Identifier: GPL-2.0 This is a "style bug". The comment style for .h should be /**/ > 4) > no issue, Makefile, or Kconfig, definitely applied with "# " at head That's the correct way. So the net-net is that these "style bugs" should be fixed. -- Cordially Philippe Ombredanne