From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 192BBC77B7F for ; Wed, 17 May 2023 12:15:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231135AbjEQMPi (ORCPT ); Wed, 17 May 2023 08:15:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229670AbjEQMPg (ORCPT ); Wed, 17 May 2023 08:15:36 -0400 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C703189; Wed, 17 May 2023 05:15:35 -0700 (PDT) Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1ae51b07338so4143075ad.0; Wed, 17 May 2023 05:15:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684325734; x=1686917734; 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=MroEbOObr/DKh8KoFkk8p+WQrCDqfI7CSroMazxdyRE=; b=DYXpA9j9dx/HRz/hyvlJZKsu78jHP0a3HFg2bkZze+2BDn1NCkoCcpyGK2CNpbeQtZ XetHJhTcBVgLXEnNVT9a9LwDPTbSQ4ZJxhS6n2S5/0E3MYHuYCeS8Qyq54rxhGz6p3ca tCuwusB64vTeNLJ+n02fvfzpeWXzw0xfLTMMt9eVzVLxuR6NNoqw5FRcZu6aFb+9Qc5y 24yTOCB44zlWuq++gS2khJ0FpmSA2wkAvQibnMknrrcfQlDdxEPHyK3YJ3bygs78zJL5 jRjPj/e4qLaAGA8+Lxp8PKvEcr2aLU1ntNsyoeD+ThtasjElXu+cQm6YArmgZvLKbgx/ F9kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684325734; x=1686917734; 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=MroEbOObr/DKh8KoFkk8p+WQrCDqfI7CSroMazxdyRE=; b=P8E6olPB9ea9XAV6/oZzRdim7goaUZDcYhPiHQw0erShXsfGdHAsyAIWvI0BAbrTns wqulD6tIUNE+kSfKm74S/HPxPGF7ic9Hsr3B1whkhFlHf6JC/4bCDI90xtvzd5kBypZm cnGcfG42doAVbu5xNb+WC5jedwRcBSx4g3Ad0ntvKmOJxUf0ZTaHTASWYXXGEXvrnXaR ZjnKLYJhARTNLkdZZznMH2TSFcqxOsLc7DHe3ah7ZCon70Vhvis1pZB75SbGuoMmbfnV kzdHu2fT1/Lm6dB+0/pawJ+ufD9rVXsDKDbwi1ZmmWIT3QAV9Vogg+6bXoCDYms9d4yN zf0g== X-Gm-Message-State: AC+VfDxDRZQ1X+LOtGo6YxnjsS0GasD5HqGDPegiVMT3m9iJjOpvuoTi hOO8fBgp73W/Ns3pBmIgz1E= X-Google-Smtp-Source: ACHHUZ5KjMaxqRo07yEVAmfkYSoHDZlCusPOar9hC7hLyj5JWGFr76acMQuvhwWwPyPd0eT9oqNgBQ== X-Received: by 2002:a17:902:db07:b0:1ae:3650:7512 with SMTP id m7-20020a170902db0700b001ae36507512mr5808047plx.20.1684325734442; Wed, 17 May 2023 05:15:34 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id g4-20020a1709026b4400b001aaf536b1e3sm15851798plt.123.2023.05.17.05.15.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 May 2023 05:15:34 -0700 (PDT) Sender: Guenter Roeck Date: Wed, 17 May 2023 05:15:33 -0700 From: Guenter Roeck To: Bagas Sanjaya Cc: Linux Watchdog Drivers , Linux Kernel Mailing List , Wim Van Sebroeck , Ray Lehtiniemi , Alessandro Zummo , H Hartley Sweeten , Deepak Saxena , Marc Zyngier , Jonas Jensen , Sylver Bruneau , Denis Turischev , Mika Westerberg , Andreas =?iso-8859-1?Q?F=E4rber?= Subject: Re: [PATCH 1/2] watchdog: Convert GPL 2.0 notice to SPDX identifier Message-ID: References: <20230517072140.1086660-1-bagasdotme@gmail.com> <20230517072140.1086660-2-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: <20230517072140.1086660-2-bagasdotme@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 17, 2023 at 02:21:39PM +0700, Bagas Sanjaya wrote: > Convert the boilerplate to SPDX license identifier. While at it, also > move SPDX identifier for drivers/watchdog/rtd119x_wdt.c to the top of > file (as in other files). > > Cc: Ray Lehtiniemi , > Cc: Alessandro Zummo > Cc: H Hartley Sweeten > Cc: Deepak Saxena > Cc: Marc Zyngier > Cc: Jonas Jensen > Cc: Sylver Bruneau > Cc: Denis Turischev > Cc: Mika Westerberg > Acked-by: Andreas Färber > Signed-off-by: Bagas Sanjaya Reviewed-by: Guenter Roeck > --- > drivers/watchdog/ep93xx_wdt.c | 5 +---- > 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/sbc_fitpc2_wdt.c | 4 +--- > drivers/watchdog/ts4800_wdt.c | 4 +--- > drivers/watchdog/ts72xx_wdt.c | 4 +--- > 10 files changed, 10 insertions(+), 31 deletions(-) > > diff --git a/drivers/watchdog/ep93xx_wdt.c b/drivers/watchdog/ep93xx_wdt.c > index 38e26f160b9a57..59dfd7f6bf0ba1 100644 > --- a/drivers/watchdog/ep93xx_wdt.c > +++ b/drivers/watchdog/ep93xx_wdt.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * 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/m54xx_wdt.c b/drivers/watchdog/m54xx_wdt.c > index f388a769dbd33d..062ea3e6497e52 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..21935f9620e463 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..b7b1da3c932ded 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 */ > /* > - * 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..1fe583e8a95b2e 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..984905695dde51 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/sbc_fitpc2_wdt.c b/drivers/watchdog/sbc_fitpc2_wdt.c > index 13db71e165836e..b8eb8d5ca1af0c 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..0099403f49922f 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..3d57670befe1ce 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 >