Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3577174imm; Mon, 8 Oct 2018 06:21:41 -0700 (PDT) X-Google-Smtp-Source: ACcGV60iEi00dKestmUDjyoiNiJThf91Kag33jKuzAJKSRPIjSMUK0jeSLtXmDyIWQiGz8DrXesO X-Received: by 2002:a17:902:8c90:: with SMTP id t16-v6mr23478771plo.251.1539004901281; Mon, 08 Oct 2018 06:21:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539004901; cv=none; d=google.com; s=arc-20160816; b=Sp580gpQChQVPvZ0Ckhb39yIQNMcw/tWsD5yRS7hYj0gFotDgESlqhkk/uqTvSY7IP 4szv7GFEudFZIsUzJJNetVxz+t7JC7p1gg3skIb9rZBawEck9d123sdQQgGju8h47KzV qp+/FBYRQ7gchaK/nl8gAztOSGIy1crvu4TfHbIhmtv4YYRtYG1bmIF7zF1Tt65v5vkm HllX6I6rJN3JrR22XVjfx1aFLNzLX5Bk/+gKIVkMSCeillj+h15fnPgKwyzPiZQO6c/m 27qsO564NwAJsx+M4DanBcsQkWpN8BbjW7IP16lCcOtIs+LTJwfpqmIaKH1jMErUH3bs +hzA== 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:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=8+VJG6hnYGw5VAILro/0fqbXoH7nai0fY41QcpXckNU=; b=FzN61y8Z0qMC60xX71RzbIEMhDPy4865q1OeQnpzpx+9ieM41l0tOUjhK940U1v1yu Qqj/6n5b4n0F40KqsyXbDETYGdrwD2ccHbl1o4QVOxnLBGkeTGDhU+wdbGR9BPObDg6e KXv7Oa+7uaBb8RXcvI+MeZJBrWBeUhJ7gZ71CaQXPjS8/kAyvgzOsRHe042wlH7xu3Kw Rdj8Ae6zDp+BUamdUquSh+R2H0xwYuugenxYYE9zPQ6UuzPWd7BcDug2zuzqt+lNvnoT AmpzVkibP9RcdZZo93u2nDHGAEh2hoHt44vngjxojvOXJlJDTYuwPtsZDRhHKnkgbPi3 zV2Q== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m80-v6si19233059pfj.48.2018.10.08.06.21.26; Mon, 08 Oct 2018 06:21:41 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726198AbeJHUcy (ORCPT + 99 others); Mon, 8 Oct 2018 16:32:54 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:38304 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726006AbeJHUcx (ORCPT ); Mon, 8 Oct 2018 16:32:53 -0400 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id C7479FAF5E146; Mon, 8 Oct 2018 21:21:07 +0800 (CST) Received: from [10.151.23.176] (10.151.23.176) by smtp.huawei.com (10.3.19.208) with Microsoft SMTP Server (TLS) id 14.3.399.0; Mon, 8 Oct 2018 21:21:01 +0800 Subject: Re: [PATCH] staging: erofs: add SPDX identifer To: Loic Tourlonias CC: Chao Yu , Greg Kroah-Hartman , , , References: <20181008104100.2369-1-loic.tourlonias.lkml@gmail.com> From: Gao Xiang Message-ID: Date: Mon, 8 Oct 2018 21:20:55 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20181008104100.2369-1-loic.tourlonias.lkml@gmail.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.151.23.176] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Loic, On 2018/10/8 18:41, Loic Tourlonias wrote: > Add SPDX identifier to simplify header and remove whole license text > > Signed-off-by: Loic Tourlonias > --- > drivers/staging/erofs/lz4defs.h | 23 ++--------------------- > 1 file changed, 2 insertions(+), 21 deletions(-) > > diff --git a/drivers/staging/erofs/lz4defs.h b/drivers/staging/erofs/lz4defs.h > index 00a0b58a0871..bdb1022981d8 100644 > --- a/drivers/staging/erofs/lz4defs.h > +++ b/drivers/staging/erofs/lz4defs.h > @@ -1,32 +1,13 @@ > #ifndef __LZ4DEFS_H__ > #define __LZ4DEFS_H__ > > +// SPDX-License-Identifier: BSD-2-Clause For *.h files, it seems SPDX Identifier should be /* SPDX-License-Identifier: */ rather than // SPDX-License-Identifier: And I think it should be placed at the first line of the line, but I am not sure of that. Thanks, Gao Xiang > /* > * lz4defs.h -- common and architecture specific defines for the kernel usage > > * LZ4 - Fast LZ compression algorithm > * Copyright (C) 2011-2016, Yann Collet. > - * BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) > - * Redistribution and use in source and binary forms, with or without > - * modification, are permitted provided that the following conditions are > - * met: > - * * Redistributions of source code must retain the above copyright > - * notice, this list of conditions and the following disclaimer. > - * * Redistributions in binary form must reproduce the above > - * copyright notice, this list of conditions and the following disclaimer > - * in the documentation and/or other materials provided with the > - * distribution. > - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS > - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT > - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR > - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT > - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, > - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT > - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, > - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY > - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT > - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE > - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. > + * > * You can contact the author at : > * - LZ4 homepage : http://www.lz4.org > * - LZ4 source repository : https://github.com/lz4/lz4 >