Received: by 10.213.65.68 with SMTP id h4csp119760imn; Wed, 21 Mar 2018 13:59:58 -0700 (PDT) X-Google-Smtp-Source: AG47ELuJK8oxqAadWUVWgNpsJInQ50GZ3af9AMdPsLweB4OOVPnWt6/w7Fl9lV37C6+oiMIBL6Q/ X-Received: by 2002:a17:902:684d:: with SMTP id f13-v6mr12109724pln.230.1521665998269; Wed, 21 Mar 2018 13:59:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521665998; cv=none; d=google.com; s=arc-20160816; b=rSFFx2NsDkWneavirhsDvQilfbgL8pSEeX+agfS9X9AxQCLroUcSAF74e3Di3qxc5m HhkGU+wNfXynA86dXVJGDKojCgw1jBxiTSdJf18gLx1tIB/FkvCHrl5pKidmrFxayW1x CnC+36/wC+WwoHpKZ5Y13CsDjjX5Pn85dQPpz03+TubzYOwjfAbSn2nY3md1gPPwKnkU jZ6Jzcx78hSM0SkuV5DL/s/nRq38ylhpdPbv9RDjbf1w5nTcaYBtbV2C5gGztTbH+eEk 5BXiO8QAn1ctQNv894NeANXcKbG1z+eqfdzztQQQujEGObJxdQl1Ip4vutI/qBT81wxx lNtA== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=iqnsVSZwx0NZhEYmha0e0GmdkZVait41DaPpHSk+uHw=; b=x65CeKX/jjSms/85L5Y3qx4vA+f/t1CfKDTXb7CrXQBQxAKg7ZZo11rmVFf+d7mB89 EhQIUBlsiBWYDp2xRFeHbzIAlkF35UzLvr4q7pdAy1tlh42pwYqK+PQ2Uk+R/0zfEPCc GB20WJCebFgGxvjNsiiXtbpEOVXAHpnUfx0e9vm6T7FqHNF9COtnabtBlyOQmHjrjid6 Um8iBDW9fQWmnYcluXMwgBXheB0GRyOd3HD4aPTCrsHeUTDfDMxFnaLQs/NsmN+o1LX7 GEBUhoU4mjHTR7zTbPJHah6McxfC+o14MKKJh05FqqZb1IM2dmE9HxRxsPKglFIfSY12 W0yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nexb-com.20150623.gappssmtp.com header.s=20150623 header.b=CG/s2SRK; 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 b72si3719817pfk.135.2018.03.21.13.59.43; Wed, 21 Mar 2018 13:59:58 -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=@nexb-com.20150623.gappssmtp.com header.s=20150623 header.b=CG/s2SRK; 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 S1753362AbeCUU6Q (ORCPT + 99 others); Wed, 21 Mar 2018 16:58:16 -0400 Received: from mail-wr0-f180.google.com ([209.85.128.180]:45812 "EHLO mail-wr0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753254AbeCUU6L (ORCPT ); Wed, 21 Mar 2018 16:58:11 -0400 Received: by mail-wr0-f180.google.com with SMTP id h2so6582340wre.12 for ; Wed, 21 Mar 2018 13:58:11 -0700 (PDT) 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; bh=iqnsVSZwx0NZhEYmha0e0GmdkZVait41DaPpHSk+uHw=; b=CG/s2SRKv6tFFTWP9ScbMAIw0LLjJWrJBmt0NySX9EioNmOIfi6OmkJFkuIPr0jUQ7 JF3ARe5UYIRCy7sCgsjkN44bCONS5tOH6VjWv3xTRAFa0+04W05tzLHYr1ZqizA6utf7 Nb8FtSO++3NMEjVtB0CfMKjLa9dybguW/PDJxSJ+2ONE/QLgNn1nqIrScVaWj8gLfk1k ZhObjJAUpbvchqpX5uQA5m8mHKLJpvkyffkny3hqTK+GfySXOler0ZGB4iv1N90nXtzT 4qsxMl/ZEZtycnnYvq3K86oSYU89SPjbCIhOfRqKZctz7cXoaJ6pEs74/OKX/HBBjlz9 xyZg== 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; bh=iqnsVSZwx0NZhEYmha0e0GmdkZVait41DaPpHSk+uHw=; b=RSyvCKfyU6yBY9+pHzs6i1T+boJH8AJwFARmUVNa0oWvxN0SBg9hFT81nLiiHuvgzl sZxc/owgRa0T2WWT+A8yuulgRSKhrzuZbcG0FsJaQ5xLXK42yUv0BYWp6Q6ZJwwQ4mH8 oETDX14lqdFYlXKB+WrMT+xamIXiBa89cPYIM+pi64NO92P/0chS3NPnua2w9AObCMZ/ JSKYTs6hatczJNCyr77tHseZQ59sXInafH/rOYwQVbOqhQoVOFmgJpQXFw4ktmW+mEUm vprsTGQ1uW9HSlUFa3Q38LyxV91oscI/6jBAd9XgthdpxKd5VNDgzuFsUyEUEuQ0t1OL zRTw== X-Gm-Message-State: AElRT7Ew8YfPHle88t7LGflonA7m7bspGSaX87l7K7/cvErbiYUTWw3O jkw1c6nfAjDd560CNAC5HLwzayy1HebRJuhGt5ERjQ== X-Received: by 10.223.190.12 with SMTP id n12mr14732144wrh.82.1521665890694; Wed, 21 Mar 2018 13:58:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.195.199 with HTTP; Wed, 21 Mar 2018 13:57:30 -0700 (PDT) In-Reply-To: References: From: Philippe Ombredanne Date: Wed, 21 Mar 2018 13:57:30 -0700 Message-ID: Subject: Re: [PATCH 1/5 v4] add compression algorithm zBeWalgo To: Benjamin Warnke <4bwarnke@informatik.uni-hamburg.de> Cc: Linux Crypto Mailing List , LKML , Herbert Xu , "David S. Miller" , minchan@kernel.org, Nitin Gupta , Sergey Senozhatsky 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 Benjamin, On Wed, Mar 21, 2018 at 12:32 AM, Benjamin Warnke <4bwarnke@informatik.uni-hamburg.de> wrote: > Ok, I will use > > /* SPDX-License-Identifier: GPL-2.0 */ > /* > * Copyright (c) 2018 Benjamin Warnke <4bwarnke@informatik.uni-hamburg.de> > ... > > at the top of my files instead of that boilerplate text. And > > MODULE_LICENSE("GPL"); > > at the bottom of the module-files. > > I used the file "crypto/lz4.c" - since it is a compression algorithm too - as an example of how to format the licensing text. > Unfortunately there is the same 'error'. > I fixed this error in all of my files in all patches. Actually to be consistent if you want to use GPL-2-0 (and not "or later") you should use: 1. at the top, for a c. file: // SPDX-License-Identifier: GPL-2.0 or for a .h file: /* SPDX-License-Identifier: GPL-2.0 */ The doc explains it all. Including the comment style (a topic that has been discussed also on list quite bit: Linus had the final word there) 2. and in your MODULE_LICENSE macro: MODULE_LICENSE("GPL v2"); .... because a MODULE_LICENSE("GPL"); would mean GPL-2.0+ (e.g. or any later version) and this would not match your top level license tag. I know this may seem confusing, but there is little hope we can change the MODULE_LICENSE tags that are used by many external module loaders. Comments in module.h explain it all. -- Cordially Philippe Ombredanne