[PATCH v2 08/10] drivers: watchdog: Replace GPL license notice with SPDX identifier

Guenter Roeck linux at roeck-us.net
Fri May 12 12:49:20 UTC 2023


On Fri, May 12, 2023 at 05:06:19PM +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. 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 <rayl at mail.com>
> Cc: Alessandro Zummo <a.zummo at towertech.it>
> Cc: Andrey Panin <pazke at donpac.ru>
> Cc: Oleg Drokin <green at crimea.edu>
> Cc: Marc Zyngier <maz at kernel.org>
> Cc: Jonas Jensen <jonas.jensen at gmail.com>
> Cc: Sylver Bruneau <sylver.bruneau at googlemail.com>
> Cc: Andrew Sharp <andy.sharp at lsi.com>
> Cc: Denis Turischev <denis at compulab.co.il>
> Cc: Mika Westerberg <mika.westerberg at linux.intel.com>
> Cc: Alan Cox <alan at linux.intel.com>
> Reviewed-by: Simon Horman <simon.horman at corigine.com>
> Signed-off-by: Bagas Sanjaya <bagasdotme at gmail.com>
> ---
>  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/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+

This would include GPL 3, but the text below explicitly excludes that.
No idea how to handle that.

Guenter

>  /*
>   * Watchdog driver for SiByte SB1 SoCs
>   *
> @@ -38,10 +39,6 @@
>   *	(c) Copyright 1996 Alan Cox <alan at lxorguk.ukuu.org.uk>,
>   *						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.
> - *
>   */


More information about the dri-devel mailing list