Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp8958964rwr; Thu, 11 May 2023 08:14:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ66zvBz3Pt4yr4XS28Z03yO1Vp13xhqIjUk4pC2KoWQlJMs91T0ZC4jbySpcTPaRiTkf7Vs X-Received: by 2002:a5d:9c8a:0:b0:760:a3c7:1a86 with SMTP id p10-20020a5d9c8a000000b00760a3c71a86mr12536342iop.16.1683818087806; Thu, 11 May 2023 08:14:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683818087; cv=none; d=google.com; s=arc-20160816; b=yYiP4Xah7HR/RL7DFl2R3VRWeAje1uTUxoCb2UOf01/sCLcH7EGSJfZOHjmz43JI+6 h32DKbP3sXrZiLJ65Q4OMKmoUNbGU+CPx2WoSYkg3RnA8UkuF+jG3e0wK9vnrKZPB8Kn 3FDwLVNwt48FSld8mLcYNhSW5OH46LLfLMYQ6Cc7RakNDE0pmlZRQj2xWWBxoTo6GiRm 64voBVEJQvRxHQB8jdlGpgHuXxhCkosTqqfDq93pg457gZPQT/cLK2AnbTZ4kTqg1JUU 8MonUqw4P9EnJJZpimCdX3cr7zOYFwtOdJwljPmz7Urb0blQW1wW0wekG1KHu4JGJ1ZO /dig== 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=91+5dXYzQeyUNC81s4FXhCBQF/Ohu+6dIaUfBtGY2zg=; b=SomOxwf9EHwoNtcgDz87RVHcCibTs5tA/JYTq0FS+SeCriCEun1z740yTSVrFFj9ah M4ZwnpKvi1g7wwI7jJ6mhvxYGtLHctucDw+YX1yIfkYEv1Xq3POzjb9jzcjWifTqdoI5 Fo9zUDBKe4PlGu4nO7AHbjxSbHu+93pEOX2psFTPqupTxBS8dXzey2VZFYzE6xJ2wpW0 +mP26yYVPK+z9rPOcF7rcPXq04KuHlElI3322IztmhQXfDQ7NrbETvcxn8zUZ1ndFkIY hqIUROT1qmuvzomJHJU+x3R7q8tKC4xW548PJ2uTnEd9q43ow97wFIQrCfSaxlxFfuFa Rnew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=eUfYz6gg; 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 h11-20020a056602130b00b0075915a9c081si8130923iov.32.2023.05.11.08.14.34; Thu, 11 May 2023 08:14:47 -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=eUfYz6gg; 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 S238392AbjEKPIO (ORCPT + 99 others); Thu, 11 May 2023 11:08:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238061AbjEKPIM (ORCPT ); Thu, 11 May 2023 11:08:12 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D64A7E72; Thu, 11 May 2023 08:08:10 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1aae46e62e9so63074035ad.2; Thu, 11 May 2023 08:08:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683817690; x=1686409690; 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=91+5dXYzQeyUNC81s4FXhCBQF/Ohu+6dIaUfBtGY2zg=; b=eUfYz6ggXiEzB0u7XwnKyHjrTJND0HjbcVJLDIx/tZvuVqGafyyNi5bwCOzV0uUoKr EkuYS3iFvyhOgcVNoyU48i8FkN4yXD/3g5dPKPyIRpuY579QmW+kcKkMIOzpIypmehjx 4y4qK8CBju5EnK8OXwGd/BUeBwvI7GrYyUSJKKOr1eJUUq4ZHus17loSONc3fTR/h2um ibnhD8PiI8zgQGeXhDW7lk+CpwNSguBuX8fqE5rqvRyvytzz+qxZbejr3besNnGgjpLZ RIwngOoYw+QwzUdUb2R8XEUnU5c5PmyEyR1B7z8Sei5hoe4QBh9W9zef0m/08j2xD9/H R4Bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683817690; x=1686409690; 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=91+5dXYzQeyUNC81s4FXhCBQF/Ohu+6dIaUfBtGY2zg=; b=KPK3LD/C3ysCc1z0F9L3dfzFvlG1rkjHAJgoP0Ang+6KCfSjqr8W7rcr3yYgIYChY/ EoJ7D5fYtIb9uGWg9yMZQyvHWggz0zs3KPdlONyhWU1a0QEyOghByT0GERsO2qBzC/8C cK2vHbGsJxpSJhqY7LNuhpaZ3muSoq1661+/joUDWIB8BOlUgfww/Ofm2vElCAe1E55H UPR8IyatZGq5NX1rNXOpMT3upXDLeee9Bluroy0cyoJd+74i3sIxhPbXJQcPh2RrRC2B 3P9HbZYfyFB6orEqund2F0R/WOCYQmtyEVdtoWiHm5ZgE5Ug2W7rGgF8E+GtKG3VRnwJ IUoA== X-Gm-Message-State: AC+VfDxlfUS7FJg5oYMXgc4jEFk3IoJoGx7WHF8+TXt5LEH+lB5XmBMu nM+6IcvbINdUKJ82PrjOdpA= X-Received: by 2002:a17:902:d4c6:b0:1ac:8ad0:1707 with SMTP id o6-20020a170902d4c600b001ac8ad01707mr16330835plg.1.1683817689990; Thu, 11 May 2023 08:08:09 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id jj18-20020a170903049200b001ac2f98e953sm5985954plb.216.2023.05.11.08.08.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 May 2023 08:08:09 -0700 (PDT) Sender: Guenter Roeck Date: Thu, 11 May 2023 08:08:07 -0700 From: Guenter Roeck To: Bagas Sanjaya Cc: 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 , 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 , Greg Kroah-Hartman , Wim Van Sebroeck , Jan Kara , Andreas =?iso-8859-1?Q?F=E4rber?= , Manivannan Sadhasivam , Tom Rix , Simon Horman , Yang Yingliang , "Steven Rostedt (Google)" , Pavel Machek , Minghao Chi , Kalle Valo , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Viresh Kumar , Arnd Bergmann , Deepak R Varma , Davidlohr Bueso , Thomas Gleixner , Jacob Keller , Gaosheng Cui , Dan Carpenter , Archana , Ray Lehtiniemi , Alessandro Zummo , Andrey Panin , Oleg Drokin , Marc Zyngier , Jonas Jensen , Sylver Bruneau , Andrew Sharp , Denis Turischev , Mika Westerberg Subject: Re: [PATCH 08/10] drivers: watchdog: Replace GPL license notice with SPDX identifier Message-ID: <46c263f6-dd9c-408c-b3e0-bfb2676c6505@roeck-us.net> References: <20230511133406.78155-1-bagasdotme@gmail.com> <20230511133406.78155-9-bagasdotme@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230511133406.78155-9-bagasdotme@gmail.com> 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 Thu, May 11, 2023 at 08:34:04PM +0700, Bagas Sanjaya wrote: > Many watchdog drivers's source files has already SPDX license > identifier, while some remaining doesn't. > > Convert notices on remaining files to SPDX identifier. > > Cc: Ray Lehtiniemi > Cc: Alessandro Zummo > Cc: Andrey Panin > Cc: Oleg Drokin > Cc: Marc Zyngier > Cc: Jonas Jensen > Cc: Sylver Bruneau > Cc: Andrew Sharp > Cc: Denis Turischev > Cc: Mika Westerberg > Signed-off-by: Bagas Sanjaya > --- > drivers/watchdog/ep93xx_wdt.c | 5 +---- > drivers/watchdog/ibmasr.c | 3 +-- > drivers/watchdog/m54xx_wdt.c | 4 +--- > drivers/watchdog/max63xx_wdt.c | 5 +---- > drivers/watchdog/moxart_wdt.c | 4 +--- > drivers/watchdog/octeon-wdt-nmi.S | 5 +---- > drivers/watchdog/orion_wdt.c | 4 +--- > drivers/watchdog/rtd119x_wdt.c | 2 +- > drivers/watchdog/sb_wdog.c | 5 +---- > drivers/watchdog/sbc_fitpc2_wdt.c | 4 +--- > drivers/watchdog/ts4800_wdt.c | 4 +--- > drivers/watchdog/ts72xx_wdt.c | 4 +--- > 12 files changed, 12 insertions(+), 37 deletions(-) > > diff --git a/drivers/watchdog/ep93xx_wdt.c b/drivers/watchdog/ep93xx_wdt.c > index 38e26f160b9a57..f5d70842617fe9 100644 > --- a/drivers/watchdog/ep93xx_wdt.c > +++ b/drivers/watchdog/ep93xx_wdt.c > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ This was supposed to be a C++ style comment for C source files. Has the rule changed ? > /* > * Watchdog driver for Cirrus Logic EP93xx family of devices. > * > @@ -11,10 +12,6 @@ > * Copyright (c) 2012 H Hartley Sweeten > * Convert to a platform device and use the watchdog framework API > * > - * This file is licensed under the terms of the GNU General Public > - * License version 2. This program is licensed "as is" without any > - * warranty of any kind, whether express or implied. > - * > * This watchdog fires after 250msec, which is a too short interval > * for us to rely on the user space daemon alone. So we ping the > * wdt each ~200msec and eventually stop doing it if the user space > diff --git a/drivers/watchdog/ibmasr.c b/drivers/watchdog/ibmasr.c > index 4a22fe15208630..df03f3b2659a3e 100644 > --- a/drivers/watchdog/ibmasr.c > +++ b/drivers/watchdog/ibmasr.c > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-1.0-or-later */ > /* > * IBM Automatic Server Restart driver. > * > @@ -6,8 +7,6 @@ > * Based on driver written by Pete Reynolds. > * Copyright (c) IBM Corporation, 1998-2004. > * > - * This software may be used and distributed according to the terms > - * of the GNU Public License, incorporated herein by reference. > */ > > #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > diff --git a/drivers/watchdog/m54xx_wdt.c b/drivers/watchdog/m54xx_wdt.c > index f388a769dbd33d..9ca80b6c1790b6 100644 > --- a/drivers/watchdog/m54xx_wdt.c > +++ b/drivers/watchdog/m54xx_wdt.c > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * drivers/watchdog/m54xx_wdt.c > * > @@ -11,9 +12,6 @@ > * Copyright 2004 (c) MontaVista, Software, Inc. > * Based on sa1100 driver, Copyright (C) 2000 Oleg Drokin > * > - * This file is licensed under the terms of the GNU General Public > - * License version 2. This program is licensed "as is" without any > - * warranty of any kind, whether express or implied. > */ > > #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > diff --git a/drivers/watchdog/max63xx_wdt.c b/drivers/watchdog/max63xx_wdt.c > index 9e1541cfae0d89..811f6dabad2c08 100644 > --- a/drivers/watchdog/max63xx_wdt.c > +++ b/drivers/watchdog/max63xx_wdt.c > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * drivers/char/watchdog/max63xx_wdt.c > * > @@ -5,10 +6,6 @@ > * > * Copyright (C) 2009 Marc Zyngier > * > - * This file is licensed under the terms of the GNU General Public > - * License version 2. This program is licensed "as is" without any > - * warranty of any kind, whether express or implied. > - * > * This driver assumes the watchdog pins are memory mapped (as it is > * the case for the Arcom Zeus). Should it be connected over GPIOs or > * another interface, some abstraction will have to be introduced. > diff --git a/drivers/watchdog/moxart_wdt.c b/drivers/watchdog/moxart_wdt.c > index 6340a1f5f471b2..c87873c7d13f86 100644 > --- a/drivers/watchdog/moxart_wdt.c > +++ b/drivers/watchdog/moxart_wdt.c > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * MOXA ART SoCs watchdog driver. > * > @@ -5,9 +6,6 @@ > * > * Jonas Jensen > * > - * This file is licensed under the terms of the GNU General Public > - * License version 2. This program is licensed "as is" without any > - * warranty of any kind, whether express or implied. > */ > > #include > diff --git a/drivers/watchdog/octeon-wdt-nmi.S b/drivers/watchdog/octeon-wdt-nmi.S > index 97f6eb7b5a8e04..e308cc74392018 100644 > --- a/drivers/watchdog/octeon-wdt-nmi.S > +++ b/drivers/watchdog/octeon-wdt-nmi.S > @@ -1,8 +1,5 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ The text below suggests that this should be GPL1+. > /* > - * This file is subject to the terms and conditions of the GNU General Public > - * License. See the file "COPYING" in the main directory of this archive > - * for more details. > - * > * Copyright (C) 2007-2017 Cavium, Inc. > */ > #include > diff --git a/drivers/watchdog/orion_wdt.c b/drivers/watchdog/orion_wdt.c > index 5ec2dd8fd5fa3d..938b357a12b911 100644 > --- a/drivers/watchdog/orion_wdt.c > +++ b/drivers/watchdog/orion_wdt.c > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * drivers/watchdog/orion_wdt.c > * > @@ -5,9 +6,6 @@ > * > * Author: Sylver Bruneau > * > - * This file is licensed under the terms of the GNU General Public > - * License version 2. This program is licensed "as is" without any > - * warranty of any kind, whether express or implied. > */ > > #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > diff --git a/drivers/watchdog/rtd119x_wdt.c b/drivers/watchdog/rtd119x_wdt.c > index 95c8d7abce42e6..1c3c36e9779739 100644 > --- a/drivers/watchdog/rtd119x_wdt.c > +++ b/drivers/watchdog/rtd119x_wdt.c > @@ -1,9 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0+ */ > /* > * Realtek RTD129x watchdog > * > * Copyright (c) 2017 Andreas F?rber > * > - * SPDX-License-Identifier: GPL-2.0+ > */ > > #include > diff --git a/drivers/watchdog/sb_wdog.c b/drivers/watchdog/sb_wdog.c > index 504be461f992a9..00b35eddf9395f 100644 > --- a/drivers/watchdog/sb_wdog.c > +++ b/drivers/watchdog/sb_wdog.c > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-1.0 OR GPL-2.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. > - * > */ > > #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > diff --git a/drivers/watchdog/sbc_fitpc2_wdt.c b/drivers/watchdog/sbc_fitpc2_wdt.c > index 13db71e165836e..141fcbd11c4c82 100644 > --- a/drivers/watchdog/sbc_fitpc2_wdt.c > +++ b/drivers/watchdog/sbc_fitpc2_wdt.c > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * Watchdog driver for SBC-FITPC2 board > * > @@ -5,9 +6,6 @@ > * > * Adapted from the IXP2000 watchdog driver by Deepak Saxena. > * > - * This file is licensed under the terms of the GNU General Public > - * License version 2. This program is licensed "as is" without any > - * warranty of any kind, whether express or implied. > */ > > #define pr_fmt(fmt) KBUILD_MODNAME " WATCHDOG: " fmt > diff --git a/drivers/watchdog/ts4800_wdt.c b/drivers/watchdog/ts4800_wdt.c > index 0ea554c7cda579..9d7d7ad876a788 100644 > --- a/drivers/watchdog/ts4800_wdt.c > +++ b/drivers/watchdog/ts4800_wdt.c > @@ -1,11 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * Watchdog driver for TS-4800 based boards > * > * Copyright (c) 2015 - Savoir-faire Linux > * > - * This file is licensed under the terms of the GNU General Public > - * License version 2. This program is licensed "as is" without any > - * warranty of any kind, whether express or implied. > */ > > #include > diff --git a/drivers/watchdog/ts72xx_wdt.c b/drivers/watchdog/ts72xx_wdt.c > index bf918f5fa13175..bb53dc481006c9 100644 > --- a/drivers/watchdog/ts72xx_wdt.c > +++ b/drivers/watchdog/ts72xx_wdt.c > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * Watchdog driver for Technologic Systems TS-72xx based SBCs > * (TS-7200, TS-7250 and TS-7260). These boards have external > @@ -8,9 +9,6 @@ > * > * This driver is based on ep93xx_wdt and wm831x_wdt drivers. > * > - * This file is licensed under the terms of the GNU General Public > - * License version 2. This program is licensed "as is" without any > - * warranty of any kind, whether express or implied. > */ > > #include > -- > An old man doll... just what I always wanted! - Clara >