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 <r...@mail.com> > Cc: Alessandro Zummo <a.zu...@towertech.it> > Cc: Andrey Panin <pa...@donpac.ru> > Cc: Oleg Drokin <gr...@crimea.edu> > Cc: Marc Zyngier <m...@kernel.org> > Cc: Jonas Jensen <jonas.jen...@gmail.com> > Cc: Sylver Bruneau <sylver.brun...@googlemail.com> > Cc: Andrew Sharp <andy.sh...@lsi.com> > Cc: Denis Turischev <de...@compulab.co.il> > Cc: Mika Westerberg <mika.westerb...@linux.intel.com> > Cc: Alan Cox <a...@linux.intel.com> > Reviewed-by: Simon Horman <simon.hor...@corigine.com> > Signed-off-by: Bagas Sanjaya <bagasdo...@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 <a...@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. > - * > */