Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp814553rwd; Sun, 14 May 2023 07:05:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7KP1OkmqC2G9AaU3FkNqDU5UCaURMJ5SqAYy19bqcaM63zPX0pVcuHZE/6NOG2TbuuCKkQ X-Received: by 2002:a05:6a00:2442:b0:63b:854c:e0f6 with SMTP id d2-20020a056a00244200b0063b854ce0f6mr43063756pfj.21.1684073143303; Sun, 14 May 2023 07:05:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684073143; cv=none; d=google.com; s=arc-20160816; b=sK3ut+VCkHkjr+0V+NEkHrSli+xhUlmVScf/fUGj419VSaaDGNmXfEexBesxQqZxj0 9ce178he2OypMac69HBFYSVRVVP+9ek9WynPmsoHFqCx3gOXdBjLwE/ERlyMkCpkW+3+ KmGbVfbjwxpttgGHurw6SzdIdGIxhtzlvTlF317Mjmvhy7m2IBluc2wvM+agdB4Lssgj T2+2Aw6kxUBcR9JkslCKSQa587GMgdRFr4iY+hCb9ntKyuTmkm9SfTLR0N7M5PMO95Ah k01GpUL9oAgtMfp2t4JlTB3JFp2PiOw4iUPftDMw7i6NgnfMW50Q3gUiJEwd7U9aaQGp mvSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=Y5XEouAH/P1Pc1xR/i0kwTIYjZQ4lEbXoXqgUXs2Qrc=; b=WO54ZwW6uZ5uaG/l6RTBfDYY8yrgg+OmO+f3MEPeFYwvUeUcDyr/V4VEF+I91GIYHA 6mLH4TkwE5plnD4KcQjNcg4hpV5AEqGruy0a8U/6BbFu3GxZSYYzy0PNUplWNd04Q7tD mKEZ3WQ9GCiSFf2w2+wmzJx+OkCiGruwz7MWfxbsCUKpXl5g+Y2dXLj4U7LAfdCwEkvb nVqjw3W/Cc/MuBZtQpl4qzf+MYmfY1nLCnSulP4OvB/XPg/korcJMMh6btYOGsLBMKHx /dGTIhBUm/RxFX5Igf/FkaoWm6sQQrtOdIszli8ImjwrLCO6/lPU6Z8lz68VV57M7PeN zSJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=JgFgXkWG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h129-20020a625387000000b0064ad90e94easi5877136pfb.194.2023.05.14.07.05.29; Sun, 14 May 2023 07:05:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=JgFgXkWG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236661AbjENNIh (ORCPT + 99 others); Sun, 14 May 2023 09:08:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236982AbjENNIf (ORCPT ); Sun, 14 May 2023 09:08:35 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B9342D43; Sun, 14 May 2023 06:08:32 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-643995a47f7so12151962b3a.1; Sun, 14 May 2023 06:08:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684069711; x=1686661711; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:sender :from:to:cc:subject:date:message-id:reply-to; bh=Y5XEouAH/P1Pc1xR/i0kwTIYjZQ4lEbXoXqgUXs2Qrc=; b=JgFgXkWGfmHspAu7HjxcvhDThdTjCYb1GNamypAn0LCFacWj8H5PF8YNDKsh/tltmv LqdKH0NNZhsyay3GsncvplLD3ClamfUcj0OyLTHNhYu9JaddW/YiogoN5e0ZyVELkp0R KTQ/K5Sn/xBtjAra7xamVhMaa1QU94H6fvOpT4+AqUlfDjFYBsVyt/meC8Jj4tZo1sbR 586YES8hrpWNVFyydRbUXQL6dvIElCzLk2YWjgEmqvytADeUUHamD87e09ZifRyBLLio 6yfsTPDGlXTuK79WwdedbhKlxetYYbIcNS4hYFQl+hr9HZMGmSmNi+xdUho7RYx/SL60 dI2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684069711; x=1686661711; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Y5XEouAH/P1Pc1xR/i0kwTIYjZQ4lEbXoXqgUXs2Qrc=; b=K1znHE8W9EnrPS7ut1zKEMetujD6IHsFzzP+j+J+8gHKyb165OgNlTWew68GLMSaHN hack0Ykn08MWTvvsrQTOhIWG+WBf+EdWJQWlk9W8O9Ma2fS9wHfkeD5DKCmloxzf+xyS mt3ypMPVuhZLxd1bkRcbBtbBhJlQD5I98WShrHLN6KNKq1pSJ+2eS3UXjs5P49U8GFl4 Fp2NqJWwtRbqL/I5UFAF/a82Iaz1uwrcghWi8fQn7RF37Yxny1i/W1EFq/bMJxwB1cKU YgSj2dBpk0Ua6SffPA1SnYbBj/Hu9VAaQm+oXZO2Dc1L6UuI1iHQZmM09zYGqmTqgrlV jXAQ== X-Gm-Message-State: AC+VfDwEHDLRKgMx65pSzTlGS3LabFRMcH0tyijBJSfcWFGJ+Fcg7kwJ Dlfb9O4BBZlWWpdZLQ99NSM= X-Received: by 2002:a05:6a20:3d28:b0:103:9c25:99a3 with SMTP id y40-20020a056a203d2800b001039c2599a3mr18361027pzi.59.1684069711559; Sun, 14 May 2023 06:08:31 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id b30-20020a631b1e000000b0050bd4bb900csm9760255pgb.71.2023.05.14.06.08.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 May 2023 06:08:30 -0700 (PDT) Sender: Guenter Roeck Date: Sun, 14 May 2023 06:08:29 -0700 From: Guenter Roeck To: Greg Kroah-Hartman Cc: Richard Fontana , Bagas Sanjaya , Linux SPDX Licenses , Linux DRI Development , Linux Kernel Mailing List , Linux Networking , Linux ARM , Linux Staging Drivers , Linux Watchdog Devices , Linux Kernel Actions , Diederik de Haas , Kate Stewart , Philippe Ombredanne , Thomas Gleixner , David Airlie , Karsten Keil , Jay Vosburgh , Andy Gospodarek , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Sam Creasey , Dominik Brodowski , Daniel Mack , Haojian Zhuang , Robert Jarzmik , Wim Van Sebroeck , Jan Kara , Andreas =?iso-8859-1?Q?F=E4rber?= , Manivannan Sadhasivam , Ray Lehtiniemi , Alessandro Zummo , Andrey Panin , Oleg Drokin , Marc Zyngier , Jonas Jensen , Sylver Bruneau , Andrew Sharp , Denis Turischev , Mika Westerberg , Alan Cox , Simon Horman Subject: Re: [PATCH v2 08/10] drivers: watchdog: Replace GPL license notice with SPDX identifier Message-ID: <511814a0-0c42-4813-9473-13748d6c6cb0@roeck-us.net> References: <20230512100620.36807-1-bagasdotme@gmail.com> <20230512100620.36807-9-bagasdotme@gmail.com> <2023051414-headroom-maimed-553c@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2023051414-headroom-maimed-553c@gregkh> X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, May 14, 2023 at 12:07:28AM +0900, Greg Kroah-Hartman wrote: > On Sat, May 13, 2023 at 09:43:39AM -0400, Richard Fontana wrote: > > On Sat, May 13, 2023 at 6:53 AM Bagas Sanjaya wrote: > > > > > > On 5/12/23 19:46, Richard Fontana wrote: > > > > On Fri, May 12, 2023 at 6:07 AM Bagas Sanjaya wrote: > > > > > > > > > > > >> diff --git a/drivers/watchdog/sb_wdog.c b/drivers/watchdog/sb_wdog.c > > > >> index 504be461f992a9..822bf8905bf3ce 100644 > > > >> --- a/drivers/watchdog/sb_wdog.c > > > >> +++ b/drivers/watchdog/sb_wdog.c > > > >> @@ -1,3 +1,4 @@ > > > >> +// SPDX-License-Identifier: GPL-1.0+ > > > >> /* > > > >> * Watchdog driver for SiByte SB1 SoCs > > > >> * > > > >> @@ -38,10 +39,6 @@ > > > >> * (c) Copyright 1996 Alan Cox , > > > >> * All Rights Reserved. > > > >> * > > > >> - * This program is free software; you can redistribute it and/or > > > >> - * modify it under the terms of the GNU General Public License > > > >> - * version 1 or 2 as published by the Free Software Foundation. > > > > > > > > Shouldn't this be > > > > // SPDX-License-Identifier: GPL-1.0 OR GPL-2.0 > > > > (or in current SPDX notation GPL-1.0-only OR GPL-2.0-only) ? > > > > > > > > > > Nope, as it will fail spdxcheck.py. Also, SPDX specification [1] > > > doesn't have negation operator (NOT), thus the licensing requirement > > > on the above notice can't be expressed reliably in SPDX here. > > > > > > [1]: https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/ > > > > The GPL identifiers in recent versions of SPDX include an `-only` and > > an `-or-later` variant. > > But Linux does not use the newer versions of SPDX given that we started > the conversion before the "-only" variant came out. Let's stick with > the original one please before worrying about converting to a newer > version of SPDX and mixing things up. > Either case I'd prefer to have no conversion if there is no means to express the original license (ie GPL-1.0 or GPL-2.0 and nothing else) in acceptable SPDX form. Thanks, Guenter