Reviewed-by: Kate Stewart <kstewart@xxxxxxxxxxxxxxxxxxx> On Tue, May 21, 2019 at 2:45 AM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote: > > Based on 1 normalized pattern(s): > > this program is free software you can redistribute it and or modify > it under the terms of the gnu general public license as published by > the free software foundation either version 2 of the license or at > your option any later version this program is distributed in the > hope that it will be useful but without any warranty without even > the implied warranty of merchantability or fitness for a particular > purpose see the gnu general public license for more details you > should have received a copy of the gnu general public license along > with this program if not write to the free software foundation inc > 675 mass ave cambridge ma 02139 usa please note that the gpl allows > you to use the driver not the radio in order to use the radio you > need a license from the communications authority of your country > > extracted by the scancode license scanner the SPDX license identifier > > GPL-2.0-or-later > > has been chosen to replace the boilerplate/reference in 7 file(s). > > Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> > > --- > https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch3&id=c20ad7e6b3ee > --- > drivers/net/hamradio/baycom_epp.c | 17 +---------------- > drivers/net/hamradio/baycom_par.c | 18 +----------------- > drivers/net/hamradio/baycom_ser_fdx.c | 17 +---------------- > drivers/net/hamradio/baycom_ser_hdx.c | 18 +----------------- > drivers/net/hamradio/hdlcdrv.c | 15 +-------------- > drivers/net/hamradio/yam.c | 17 +---------------- > include/linux/yam.h | 17 +---------------- > 7 files changed, 7 insertions(+), 112 deletions(-) > > --- a/drivers/net/hamradio/baycom_epp.c > +++ b/drivers/net/hamradio/baycom_epp.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /*****************************************************************************/ > > /* > @@ -6,25 +7,10 @@ > * Copyright (C) 1998-2000 > * Thomas Sailer (sailer@xxxxxxxxxxxxxx) > * > - * This program is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. > - * > * Please note that the GPL allows you to use the driver, NOT the radio. > * In order to use the radio, you need a license from the communications > * authority of your country. > * > - * > * History: > * 0.1 xx.xx.1998 Initial version by Matthias Welwarsky (dg2fef) > * 0.2 21.04.1998 Massive rework by Thomas Sailer > @@ -35,7 +21,6 @@ > * removed some pre-2.2 kernel compatibility cruft > * 0.6 10.08.1999 Check if parport can do SPP and is safe to access during interrupt contexts > * 0.7 12.02.2000 adapted to softnet driver interface > - * > */ > > /*****************************************************************************/ > --- a/drivers/net/hamradio/baycom_par.c > +++ b/drivers/net/hamradio/baycom_par.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /*****************************************************************************/ > > /* > @@ -5,25 +6,10 @@ > * > * Copyright (C) 1996-2000 Thomas Sailer (sailer@xxxxxxxxxxxxxx) > * > - * This program is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. > - * > * Please note that the GPL allows you to use the driver, NOT the radio. > * In order to use the radio, you need a license from the communications > * authority of your country. > * > - * > * Supported modems > * > * par96: This is a modem for 9600 baud FSK compatible to the G3RUH standard. > @@ -45,13 +31,11 @@ > * built in DCD circuitry. The driver should therefore be configured > * for hardware DCD. > * > - * > * Command line options (insmod command line) > * > * mode driver mode string. Valid choices are par96 and picpar. > * iobase base address of the port; common values are 0x378, 0x278, 0x3bc > * > - * > * History: > * 0.1 26.06.1996 Adapted from baycom.c and made network driver interface > * 18.10.1996 Changed to new user space access routines (copy_{to,from}_user) > --- a/drivers/net/hamradio/baycom_ser_fdx.c > +++ b/drivers/net/hamradio/baycom_ser_fdx.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /*****************************************************************************/ > > /* > @@ -5,25 +6,10 @@ > * > * Copyright (C) 1996-2000 Thomas Sailer (sailer@xxxxxxxxxxxxxx) > * > - * This program is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. > - * > * Please note that the GPL allows you to use the driver, NOT the radio. > * In order to use the radio, you need a license from the communications > * authority of your country. > * > - * > * Supported modems > * > * ser12: This is a very simple 1200 baud AFSK modem. The modem consists only > @@ -53,7 +39,6 @@ > * baud baud rate (between 300 and 4800) > * irq interrupt line of the port; common values are 4,3 > * > - * > * History: > * 0.1 26.06.1996 Adapted from baycom.c and made network driver interface > * 18.10.1996 Changed to new user space access routines (copy_{to,from}_user) > --- a/drivers/net/hamradio/baycom_ser_hdx.c > +++ b/drivers/net/hamradio/baycom_ser_hdx.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /*****************************************************************************/ > > /* > @@ -5,25 +6,10 @@ > * > * Copyright (C) 1996-2000 Thomas Sailer (sailer@xxxxxxxxxxxxxx) > * > - * This program is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. > - * > * Please note that the GPL allows you to use the driver, NOT the radio. > * In order to use the radio, you need a license from the communications > * authority of your country. > * > - * > * Supported modems > * > * ser12: This is a very simple 1200 baud AFSK modem. The modem consists only > @@ -34,7 +20,6 @@ > * port, the kernel driver for serial ports cannot be used, and this > * driver only supports standard serial hardware (8250, 16450, 16550A) > * > - * > * Command line options (insmod command line) > * > * mode ser12 hardware DCD > @@ -45,7 +30,6 @@ > * iobase base address of the port; common values are 0x3f8, 0x2f8, 0x3e8, 0x2e8 > * irq interrupt line of the port; common values are 4,3 > * > - * > * History: > * 0.1 26.06.1996 Adapted from baycom.c and made network driver interface > * 18.10.1996 Changed to new user space access routines (copy_{to,from}_user) > --- a/drivers/net/hamradio/hdlcdrv.c > +++ b/drivers/net/hamradio/hdlcdrv.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /*****************************************************************************/ > > /* > @@ -5,20 +6,6 @@ > * > * Copyright (C) 1996-2000 Thomas Sailer (sailer@xxxxxxxxxxxxxx) > * > - * This program is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. > - * > * Please note that the GPL allows you to use the driver, NOT the radio. > * In order to use the radio, you need a license from the communications > * authority of your country. > --- a/drivers/net/hamradio/yam.c > +++ b/drivers/net/hamradio/yam.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /*****************************************************************************/ > > /* > @@ -6,25 +7,10 @@ > * Copyright (C) 1998 Frederic Rible F1OAT (frible@xxxxxxxxx) > * Adapted from baycom.c driver written by Thomas Sailer (sailer@xxxxxxxxxxxxxx) > * > - * This program is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. > - * > * Please note that the GPL allows you to use the driver, NOT the radio. > * In order to use the radio, you need a license from the communications > * authority of your country. > * > - * > * History: > * 0.0 F1OAT 06.06.98 Begin of work with baycom.c source code V 0.3 > * 0.1 F1OAT 07.06.98 Add timer polling routine for channel arbitration > @@ -37,7 +23,6 @@ > * 0.8 F6FBB 14.10.98 Fixed slottime/persistence timing bug > * OK1ZIA 2.09.01 Fixed "kfree_skb on hard IRQ" > * using dev_kfree_skb_any(). (important in 2.4 kernel) > - * > */ > > /*****************************************************************************/ > --- a/include/linux/yam.h > +++ b/include/linux/yam.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /*****************************************************************************/ > > /* > @@ -6,25 +7,9 @@ > * Copyright (C) 1998 Frederic Rible F1OAT (frible@xxxxxxxxx) > * Adapted from baycom.c driver written by Thomas Sailer (sailer@xxxxxxxxxxxxxx) > * > - * This program is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License as published by > - * the Free Software Foundation; either version 2 of the License, or > - * (at your option) any later version. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program; if not, write to the Free Software > - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. > - * > * Please note that the GPL allows you to use the driver, NOT the radio. > * In order to use the radio, you need a license from the communications > * authority of your country. > - * > - * > */ > > /*****************************************************************************/ > >