Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3769331imm; Mon, 8 Oct 2018 09:12:54 -0700 (PDT) X-Google-Smtp-Source: ACcGV620o1i5NliDoV3c4JrdCtS8SPqaDEBB/K4Bgr4FLKJlv2tViXb23WAS2LNaD9bI5Vl2gq1t X-Received: by 2002:a62:7d8d:: with SMTP id y135-v6mr25710774pfc.245.1539015174569; Mon, 08 Oct 2018 09:12:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539015174; cv=none; d=google.com; s=arc-20160816; b=WOdmlHPibmb5vLzBQ4rF9YbDZJaMYWjVtTAToFdOqvpT01C4HvZWiBCKL76pfCCz/f VHIutSug2Tqx+eAc84wYkB79yReStzbg5gQ0BSeJqIJw46ZRa8iHR/uRH8fsUK1tVYTU RMtaMFBWHFvy08MJDoU0WOWXfT/Q3Q+Qtn04oj6PQmyJjJ2vM2cjYyDBRuxCvidm0xzc HlTQQiRDAf+6e1z0ppO5ezfJYks59cTl3MxaHyqTtxDpNKzN26avfzR7n1tL+NU+gu9O 4zp0b+7XJv8ooc/f4uzl6r0HNgYbmgg3zx7nJWNGfgB1fJoJ89LaupOj/tLNxaInyn7C yW6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=PyQshF1GR8gtEFjVv9FLyNEa0HYOGVSYTw2uQN0cIU4=; b=wrhstJdACWE5aPxNbKX4kZchy/l6BfFHe4yAA4Dtz3m/MBZCLA4fK1fgvAP3E6mxID xb3oZnJ0yqoXRnAuBsKgH3SgmcZKxNAukWwCQqIDzbNKejssT7RsdCN/V6wFtCnmn4ZX wRI83sTRyLlRb401DnjLLq+iAONWFO+6lOwfCGGaNY3z6+uBV0htIbWqde93xPS5dzrD sTdwiBzytc996loAmNjvIhMjzG/W2T1lh2bwqi47dqgel2ic6pGJHXCxkkB1AQcgHBYF O/Jga0xbgRSfBP3XN3W79U0oxHHw/Kyi1vwM5ShEPjtC1qa7pvfHjA2PUxBjmaBt5Ohu P4Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=V18LaXl2; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s203-v6si17080759pgs.499.2018.10.08.09.12.39; Mon, 08 Oct 2018 09:12:54 -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 header.i=@gmail.com header.s=20161025 header.b=V18LaXl2; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726761AbeJHXYs (ORCPT + 99 others); Mon, 8 Oct 2018 19:24:48 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:34591 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726391AbeJHXYr (ORCPT ); Mon, 8 Oct 2018 19:24:47 -0400 Received: by mail-wm1-f67.google.com with SMTP id z25-v6so9093530wmf.1 for ; Mon, 08 Oct 2018 09:12:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=PyQshF1GR8gtEFjVv9FLyNEa0HYOGVSYTw2uQN0cIU4=; b=V18LaXl2GLFjDILF5NSdPZgpU/rHqccQDCKPRn1qUTMS7hcQGNX5eyF7yo2tzO7Mqt 2NXG01v9cE6g8appsG1GbcesoBRrlkxcbF4NEz0YDPgvOsnzVst+xOqFf3UI9hNcyFBp NA1N3LiHWnlti/3Yvo1uXMDZPJQxylDLX3XD0qwcE++j0imAHfNhS7JGz40RNJpw7HTD JbEFIx2txyhPWtP2ZV+5MHA02aZsDqtqNXB1VR3qU/KlDCYAuZi4qvvrVTuh+iiP3ckM F3AtIjHEVyJl0rWuEj+Q+QpV/Vg/7m9pRefhdf2rIQI03vZRO8S0DIwgJxLmsD69WBIL uc3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=PyQshF1GR8gtEFjVv9FLyNEa0HYOGVSYTw2uQN0cIU4=; b=DW0fBGJiXbVPX3CwJxBAo0fff3hJ/KcHMTkCKOOIm+irlnh57QORPXGvXi1BHfvj1q ST4qymQQx2EwYECXPtqB/zETwQtTXzU7l3XMCYFE4KmCDLN2VGJ6ZeYAW7u8P6Q6Mnkc 8pXZ3YWRZswMVXs9p2d81lOICSmhcgPUuFq1vx26mT9qh5/20Bqv5iXTD74GIQXkrnhD 6lyWFrzlADGPlMYeiKNYnCb0wnHH/NARLOq/+noj9WOhm28v5NkfdaSN13rtUEL7Myd5 2trQJOUvGtr567T3/GIkOFe1EcHsO5zoDU6r36+8sSHmpbWXwYHCw18gjLPbQlSJPhBE KGFg== X-Gm-Message-State: ABuFfognUwMhpj6DwK19cT9HrKdKlvw30sYwQ31ysFiEMfeKwqwwmVxc lWSrDLH5RHhT23a+vezPh14= X-Received: by 2002:a1c:8b94:: with SMTP id n142-v6mr16518619wmd.38.1539015139027; Mon, 08 Oct 2018 09:12:19 -0700 (PDT) Received: from ltourlonias-VirtualBox ([109.190.253.11]) by smtp.gmail.com with ESMTPSA id b128-v6sm7629609wmh.22.2018.10.08.09.12.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 08 Oct 2018 09:12:18 -0700 (PDT) From: Loic Tourlonias To: Gao Xiang , Chao Yu , Greg Kroah-Hartman Cc: linux-erofs@lists.ozlabs.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Loic Tourlonias Subject: [PATCH v3] staging: erofs: add SPDX identifer Date: Mon, 8 Oct 2018 18:12:14 +0200 Message-Id: <20181008161214.2212-1-loic.tourlonias.lkml@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add SPDX identifier to simplify header and remove whole license text Signed-off-by: Loic Tourlonias --- v2 -> v3: - Revert undesired new line suppression, - Fix patch format v1 -> v2: Move SPDX identifier to first line and change comment delimiter 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..3b8a694d2ac8 100644 --- a/drivers/staging/erofs/lz4defs.h +++ b/drivers/staging/erofs/lz4defs.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: BSD-2-Clause*/ #ifndef __LZ4DEFS_H__ #define __LZ4DEFS_H__ @@ -6,27 +7,7 @@ * 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 -- 2.17.1