Reviewed-by: Allison Randal <allison@xxxxxxxxxxx> On 5/19/19 6:51 PM, J Lovejoy wrote: > Reviewed-by: Jilayne Lovejoy <opensource@xxxxxxxxxxx> > >> On May 19, 2019, at 7:51 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 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 >> >> extracted by the scancode license scanner the SPDX license identifier >> >> GPL-2.0-or-later >> >> has been chosen to replace the boilerplate/reference in 50 file(s). >> >> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> >> --- >> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=step2&id=9f7490ea642d >> --- >> drivers/dma/mv_xor_v2.c | 10 +--------- >> drivers/media/usb/gspca/benq.c | 11 +---------- >> drivers/media/usb/gspca/conex.c | 11 +---------- >> drivers/media/usb/gspca/dtcs033.c | 11 +---------- >> drivers/media/usb/gspca/finepix.c | 11 +---------- >> drivers/media/usb/gspca/jeilinj.c | 11 +---------- >> drivers/media/usb/gspca/jl2005bcd.c | 11 +---------- >> drivers/media/usb/gspca/jpeg.h | 12 +----------- >> drivers/media/usb/gspca/kinect.c | 11 +---------- >> drivers/media/usb/gspca/konica.c | 11 +---------- >> drivers/media/usb/gspca/mars.c | 11 +---------- >> drivers/media/usb/gspca/mr97310a.c | 11 +---------- >> drivers/media/usb/gspca/nw80x.c | 11 +---------- >> drivers/media/usb/gspca/ov519.c | 12 +----------- >> drivers/media/usb/gspca/ov534.c | 11 +---------- >> drivers/media/usb/gspca/ov534_9.c | 11 +---------- >> drivers/media/usb/gspca/pac7302.c | 11 +---------- >> drivers/media/usb/gspca/pac7311.c | 11 +---------- >> drivers/media/usb/gspca/sn9c2028.c | 11 +---------- >> drivers/media/usb/gspca/sn9c20x.c | 11 +---------- >> drivers/media/usb/gspca/sonixb.c | 11 +---------- >> drivers/media/usb/gspca/sonixj.c | 11 +---------- >> drivers/media/usb/gspca/spca1528.c | 11 +---------- >> drivers/media/usb/gspca/spca500.c | 12 +----------- >> drivers/media/usb/gspca/spca501.c | 12 +----------- >> drivers/media/usb/gspca/spca505.c | 12 +----------- >> drivers/media/usb/gspca/spca506.c | 11 +---------- >> drivers/media/usb/gspca/spca508.c | 11 +---------- >> drivers/media/usb/gspca/spca561.c | 11 +---------- >> drivers/media/usb/gspca/sq905.c | 11 +---------- >> drivers/media/usb/gspca/sq905c.c | 11 +---------- >> drivers/media/usb/gspca/sq930x.c | 11 +---------- >> drivers/media/usb/gspca/stk014.c | 11 +---------- >> drivers/media/usb/gspca/stk1135.c | 11 +---------- >> drivers/media/usb/gspca/stk1135.h | 11 +---------- >> drivers/media/usb/gspca/sunplus.c | 11 +---------- >> drivers/media/usb/gspca/t613.c | 11 +---------- >> drivers/media/usb/gspca/touptek.c | 11 +---------- >> drivers/media/usb/gspca/tv8532.c | 12 +----------- >> drivers/media/usb/gspca/vc032x.c | 11 +---------- >> drivers/media/usb/gspca/vicam.c | 11 +---------- >> drivers/media/usb/gspca/w996Xcf.c | 12 +----------- >> drivers/media/usb/stkwebcam/stk-webcam.c | 11 +---------- >> drivers/media/usb/stkwebcam/stk-webcam.h | 11 +---------- >> include/net/dn_nsp.h | 10 +--------- >> include/net/dn_route.h | 10 +--------- >> net/decnet/af_decnet.c | 10 +--------- >> net/decnet/dn_nsp_in.c | 10 +--------- >> net/decnet/dn_nsp_out.c | 10 +--------- >> net/decnet/dn_route.c | 10 +--------- >> 50 files changed, 50 insertions(+), 500 deletions(-) >> >> --- a/drivers/dma/mv_xor_v2.c >> +++ b/drivers/dma/mv_xor_v2.c >> @@ -1,15 +1,7 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * Copyright (C) 2015-2016 Marvell International Ltd. >> >> - * 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 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. >> */ >> >> #include <linux/clk.h> >> --- a/drivers/media/usb/gspca/benq.c >> +++ b/drivers/media/usb/gspca/benq.c >> @@ -1,17 +1,8 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * Benq DC E300 subdriver >> * >> * Copyright (C) 2009 Jean-Francois Moine (http://moinejf.free.fr) >> - * >> - * 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 >> - * 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. >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/conex.c >> +++ b/drivers/media/usb/gspca/conex.c >> @@ -1,18 +1,9 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * Connexant Cx11646 library >> * Copyright (C) 2004 Michel Xhaard mxhaard@xxxxxxxx >> * >> * V4L2 by Jean-Francois Moine <http://moinejf.free.fr> >> - * >> - * 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 >> - * 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. >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/dtcs033.c >> +++ b/drivers/media/usb/gspca/dtcs033.c >> @@ -1,17 +1,8 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * Subdriver for Scopium astro-camera (DTCS033, 0547:7303) >> * >> * Copyright (C) 2014 Robert Butora (robert.butora.fi@xxxxxxxxx) >> - * >> - * 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 >> - * 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. >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/finepix.c >> +++ b/drivers/media/usb/gspca/finepix.c >> @@ -1,17 +1,8 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * Fujifilm Finepix subdriver >> * >> * Copyright (C) 2008 Frank Zago >> - * >> - * 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 >> - * 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. >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/jeilinj.c >> +++ b/drivers/media/usb/gspca/jeilinj.c >> @@ -1,3 +1,4 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * Jeilinj subdriver >> * >> @@ -8,16 +9,6 @@ >> * >> * Sportscam DV15 support and control settings are >> * Copyright (C) 2011 Patrice Chotard >> - * >> - * 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 >> - * 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. >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/jl2005bcd.c >> +++ b/drivers/media/usb/gspca/jl2005bcd.c >> @@ -1,17 +1,8 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * Jeilin JL2005B/C/D library >> * >> * Copyright (C) 2011 Theodore Kilgore <kilgota@xxxxxxxxxx> >> - * >> - * 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 >> - * 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. >> */ >> >> #define MODULE_NAME "jl2005bcd" >> --- a/drivers/media/usb/gspca/jpeg.h >> +++ b/drivers/media/usb/gspca/jpeg.h >> @@ -1,3 +1,4 @@ >> +/* SPDX-License-Identifier: GPL-2.0-or-later */ >> #ifndef JPEG_H >> #define JPEG_H 1 >> /* >> @@ -7,17 +8,6 @@ >> * A special case is done for Conexant webcams. >> * >> * Copyright (C) Jean-Francois Moine (http://moinejf.free.fr) >> - * >> - * 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 >> - * 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. >> - * >> */ >> >> /* >> --- a/drivers/media/usb/gspca/kinect.c >> +++ b/drivers/media/usb/gspca/kinect.c >> @@ -1,3 +1,4 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * kinect sensor device camera, gspca driver >> * >> @@ -8,16 +9,6 @@ >> * >> * Special thanks to Steven Toth and kernellabs.com for sponsoring a Kinect >> * sensor device which I tested the driver on. >> - * >> - * 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 >> - * 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. >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/konica.c >> +++ b/drivers/media/usb/gspca/konica.c >> @@ -1,3 +1,4 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * Driver for USB webcams based on Konica chipset. This >> * chipset is used in Intel YC76 camera. >> @@ -12,16 +13,6 @@ >> * taken from the benq gspca subdriver which is: >> * >> * Copyright (C) 2009 Jean-Francois Moine (http://moinejf.free.fr) >> - * >> - * 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 >> - * 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. >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/mars.c >> +++ b/drivers/media/usb/gspca/mars.c >> @@ -1,18 +1,9 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * Mars-Semi MR97311A library >> * Copyright (C) 2005 <bradlch@xxxxxxxxxxx> >> * >> * V4L2 by Jean-Francois Moine <http://moinejf.free.fr> >> - * >> - * 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 >> - * 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. >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/mr97310a.c >> +++ b/drivers/media/usb/gspca/mr97310a.c >> @@ -1,3 +1,4 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * Mars MR97310A library >> * >> @@ -24,16 +25,6 @@ >> * >> * The MR97311A support in gspca/mars.c has been helpful in understanding some >> * of the registers in these cameras. >> - * >> - * 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 >> - * 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. >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/nw80x.c >> +++ b/drivers/media/usb/gspca/nw80x.c >> @@ -1,19 +1,10 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * DivIO nw80x subdriver >> * >> * Copyright (C) 2011 Jean-François Moine (http://moinejf.free.fr) >> * Copyright (C) 2003 Sylvain Munaut <tnt@xxxxxxxxxx> >> * Kjell Claesson <keyson@xxxxxxxxxxxxxxxxxxxxx> >> - * >> - * 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 >> - * 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. >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/ov519.c >> +++ b/drivers/media/usb/gspca/ov519.c >> @@ -1,3 +1,4 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * OV519 driver >> * >> @@ -20,17 +21,6 @@ >> * >> * Copyright (c) 2004-2007 Romain Beauxis <toots@xxxxxxxxxxxxxx> >> * Support for OV7670 sensors was contributed by Sam Skipsey <aoanla@xxxxxxxxx> >> - * >> - * 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 >> - * 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. >> - * >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/ov534.c >> +++ b/drivers/media/usb/gspca/ov534.c >> @@ -1,3 +1,4 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * ov534-ov7xxx gspca driver >> * >> @@ -14,16 +15,6 @@ >> * added by Max Thrun <bear24rw@xxxxxxxxx> >> * PS3 Eye camera - FPS range extended by Joseph Howse >> * <josephhowse@xxxxxxxxxxx> http://nummist.com >> - * >> - * 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 >> - * 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. >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/ov534_9.c >> +++ b/drivers/media/usb/gspca/ov534_9.c >> @@ -1,3 +1,4 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * ov534-ov9xxx gspca driver >> * >> @@ -8,16 +9,6 @@ >> * Based on a prototype written by Mark Ferrell <majortrips@xxxxxxxxx> >> * USB protocol reverse engineered by Jim Paris <jim@xxxxxxxx> >> * https://jim.sh/svn/jim/devl/playstation/ps3/eye/test/ >> - * >> - * 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 >> - * 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. >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/pac7302.c >> +++ b/drivers/media/usb/gspca/pac7302.c >> @@ -1,3 +1,4 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * Pixart PAC7302 driver >> * >> @@ -7,16 +8,6 @@ >> * Separated from Pixart PAC7311 library by Márton Németh >> * Camera button input handling by Márton Németh <nm127@xxxxxxxxxxx> >> * Copyright (C) 2009-2010 Márton Németh <nm127@xxxxxxxxxxx> >> - * >> - * 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 >> - * 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. >> */ >> >> /* >> --- a/drivers/media/usb/gspca/pac7311.c >> +++ b/drivers/media/usb/gspca/pac7311.c >> @@ -1,18 +1,9 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * Pixart PAC7311 library >> * Copyright (C) 2005 Thomas Kaiser thomas@xxxxxxxxxxxxxxx >> * >> * V4L2 by Jean-Francois Moine <http://moinejf.free.fr> >> - * >> - * 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 >> - * 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. >> */ >> >> /* Some documentation about various registers as determined by trial and error. >> --- a/drivers/media/usb/gspca/sn9c2028.c >> +++ b/drivers/media/usb/gspca/sn9c2028.c >> @@ -1,17 +1,8 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * SN9C2028 library >> * >> * Copyright (C) 2009 Theodore Kilgore <kilgota@xxxxxxxxxx> >> - * >> - * 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 >> - * 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. >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/sn9c20x.c >> +++ b/drivers/media/usb/gspca/sn9c20x.c >> @@ -1,19 +1,10 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * Sonix sn9c201 sn9c202 library >> * >> * Copyright (C) 2012 Jean-Francois Moine <http://moinejf.free.fr> >> * Copyright (C) 2008-2009 microdia project <microdia@xxxxxxxxxxxxxxxx> >> * Copyright (C) 2009 Brian Johnson <brijohn@xxxxxxxxx> >> - * >> - * 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 >> - * 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. >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/sonixb.c >> +++ b/drivers/media/usb/gspca/sonixb.c >> @@ -1,19 +1,10 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * sonix sn9c102 (bayer) library >> * >> * Copyright (C) 2009-2011 Jean-François Moine <http://moinejf.free.fr> >> * Copyright (C) 2003 2004 Michel Xhaard mxhaard@xxxxxxxx >> * Add Pas106 Stefano Mozzi (C) 2004 >> - * >> - * 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 >> - * 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. >> */ >> >> /* Some documentation on known sonixb registers: >> --- a/drivers/media/usb/gspca/sonixj.c >> +++ b/drivers/media/usb/gspca/sonixj.c >> @@ -1,18 +1,9 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * Sonix sn9c102p sn9c105 sn9c120 (jpeg) subdriver >> * >> * Copyright (C) 2009-2011 Jean-François Moine <http://moinejf.free.fr> >> * Copyright (C) 2005 Michel Xhaard mxhaard@xxxxxxxx >> - * >> - * 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 >> - * 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. >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/spca1528.c >> +++ b/drivers/media/usb/gspca/spca1528.c >> @@ -1,17 +1,8 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * spca1528 subdriver >> * >> * Copyright (C) 2010-2011 Jean-Francois Moine (http://moinejf.free.fr) >> - * >> - * 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 >> - * 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. >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/spca500.c >> +++ b/drivers/media/usb/gspca/spca500.c >> @@ -1,18 +1,8 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * SPCA500 chip based cameras initialization data >> * >> * V4L2 by Jean-Francois Moine <http://moinejf.free.fr> >> - * >> - * 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 >> - * 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. >> - * >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/spca501.c >> +++ b/drivers/media/usb/gspca/spca501.c >> @@ -1,18 +1,8 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * SPCA501 chip based cameras initialization data >> * >> * V4L2 by Jean-Francois Moine <http://moinejf.free.fr> >> - * >> - * 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 >> - * 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. >> - * >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/spca505.c >> +++ b/drivers/media/usb/gspca/spca505.c >> @@ -1,18 +1,8 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * SPCA505 chip based cameras initialization data >> * >> * V4L2 by Jean-Francis Moine <http://moinejf.free.fr> >> - * >> - * 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 >> - * 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. >> - * >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/spca506.c >> +++ b/drivers/media/usb/gspca/spca506.c >> @@ -1,3 +1,4 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * SPCA506 chip based cameras function >> * M Xhaard 15/04/2004 based on different work Mark Taylor and others >> @@ -5,16 +6,6 @@ >> * "Firma Frank Gmbh" from Saarbruecken >> * >> * V4L2 by Jean-Francois Moine <http://moinejf.free.fr> >> - * >> - * 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 >> - * 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. >> */ >> >> #define MODULE_NAME "spca506" >> --- a/drivers/media/usb/gspca/spca508.c >> +++ b/drivers/media/usb/gspca/spca508.c >> @@ -1,17 +1,8 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * SPCA508 chip based cameras subdriver >> * >> * Copyright (C) 2009 Jean-Francois Moine <http://moinejf.free.fr> >> - * >> - * 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 >> - * 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. >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/spca561.c >> +++ b/drivers/media/usb/gspca/spca561.c >> @@ -1,19 +1,10 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * Sunplus spca561 subdriver >> * >> * Copyright (C) 2004 Michel Xhaard mxhaard@xxxxxxxx >> * >> * V4L2 by Jean-Francois Moine <http://moinejf.free.fr> >> - * >> - * 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 >> - * 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. >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/sq905.c >> +++ b/drivers/media/usb/gspca/sq905.c >> @@ -1,17 +1,8 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * SQ905 subdriver >> * >> * Copyright (C) 2008, 2009 Adam Baker and Theodore Kilgore >> - * >> - * 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 >> - * 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. >> */ >> >> /* >> --- a/drivers/media/usb/gspca/sq905c.c >> +++ b/drivers/media/usb/gspca/sq905c.c >> @@ -1,17 +1,8 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * SQ905C subdriver >> * >> * Copyright (C) 2009 Theodore Kilgore >> - * >> - * 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 >> - * 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. >> */ >> >> /* >> --- a/drivers/media/usb/gspca/sq930x.c >> +++ b/drivers/media/usb/gspca/sq930x.c >> @@ -1,19 +1,10 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * SQ930x subdriver >> * >> * Copyright (C) 2010 Jean-François Moine <http://moinejf.free.fr> >> * Copyright (C) 2006 -2008 Gerard Klaver <gerard at gkall dot hobby dot nl> >> * Copyright (C) 2007 Sam Revitch <samr7@xxxxxxxxxxxxxxxxx> >> - * >> - * 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 >> - * 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. >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/stk014.c >> +++ b/drivers/media/usb/gspca/stk014.c >> @@ -1,17 +1,8 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * Syntek DV4000 (STK014) subdriver >> * >> * Copyright (C) 2008 Jean-Francois Moine (http://moinejf.free.fr) >> - * >> - * 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 >> - * 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. >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/stk1135.c >> +++ b/drivers/media/usb/gspca/stk1135.c >> @@ -1,3 +1,4 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * Syntek STK1135 subdriver >> * >> @@ -5,16 +6,6 @@ >> * >> * Based on Syntekdriver (stk11xx) by Nicolas VIVIEN: >> * http://syntekdriver.sourceforge.net >> - * >> - * 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 >> - * 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. >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/stk1135.h >> +++ b/drivers/media/usb/gspca/stk1135.h >> @@ -1,17 +1,8 @@ >> +/* SPDX-License-Identifier: GPL-2.0-or-later */ >> /* >> * STK1135 registers >> * >> * Copyright (c) 2013 Ondrej Zary >> - * >> - * 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 >> - * 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. >> */ >> >> #define STK1135_REG_GCTRL 0x000 /* GPIO control */ >> --- a/drivers/media/usb/gspca/sunplus.c >> +++ b/drivers/media/usb/gspca/sunplus.c >> @@ -1,18 +1,9 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * Sunplus spca504(abc) spca533 spca536 library >> * Copyright (C) 2005 Michel Xhaard mxhaard@xxxxxxxx >> * >> * V4L2 by Jean-Francois Moine <http://moinejf.free.fr> >> - * >> - * 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 >> - * 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. >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/t613.c >> +++ b/drivers/media/usb/gspca/t613.c >> @@ -1,18 +1,9 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * T613 subdriver >> * >> * Copyright (C) 2010 Jean-Francois Moine (http://moinejf.free.fr) >> * >> - * 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 >> - * 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. >> - * >> *Notes: * t613 + tas5130A >> * * Focus to light do not balance well as in win. >> * Quality in win is not good, but its kinda better. >> --- a/drivers/media/usb/gspca/touptek.c >> +++ b/drivers/media/usb/gspca/touptek.c >> @@ -1,3 +1,4 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * ToupTek UCMOS / AmScope MU series camera driver >> * TODO: contrast with ScopeTek / AmScope MDC cameras >> @@ -7,16 +8,6 @@ >> * Special thanks to Bushing for helping with the decrypt algorithm and >> * Sean O'Sullivan / the Rensselaer Center for Open Source >> * Software (RCOS) for helping me learn kernel development >> - * >> - * 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 >> - * 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. >> */ >> >> #include "gspca.h" >> --- a/drivers/media/usb/gspca/tv8532.c >> +++ b/drivers/media/usb/gspca/tv8532.c >> @@ -1,18 +1,8 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * Quickcam cameras initialization data >> * >> * V4L2 by Jean-Francois Moine <http://moinejf.free.fr> >> - * >> - * 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 >> - * 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. >> - * >> */ >> #define MODULE_NAME "tv8532" >> >> --- a/drivers/media/usb/gspca/vc032x.c >> +++ b/drivers/media/usb/gspca/vc032x.c >> @@ -1,19 +1,10 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * Z-star vc0321 library >> * >> * Copyright (C) 2009-2010 Jean-François Moine <http://moinejf.free.fr> >> * Copyright (C) 2006 Koninski Artur takeshi87@xxxxx >> * Copyright (C) 2006 Michel Xhaard >> - * >> - * 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 >> - * 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. >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/vicam.c >> +++ b/drivers/media/usb/gspca/vicam.c >> @@ -1,3 +1,4 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * gspca ViCam subdriver >> * >> @@ -10,16 +11,6 @@ >> * Pavel Machek (pavel@xxxxxx), >> * John Tyner (jtyner@xxxxxxxxxx), >> * Monroe Williams (monroe@xxxxxxxxx) >> - * >> - * 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 >> - * 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. >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/gspca/w996Xcf.c >> +++ b/drivers/media/usb/gspca/w996Xcf.c >> @@ -1,3 +1,4 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /** >> * >> * GSPCA sub driver for W996[78]CF JPEG USB Dual Mode Camera Chip. >> @@ -7,17 +8,6 @@ >> * This module is adapted from the in kernel v4l1 w9968cf driver: >> * >> * Copyright (C) 2002-2004 by Luca Risolia <luca.risolia@xxxxxxxxxxxxxxx> >> - * >> - * 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 >> - * 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. >> - * >> */ >> >> /* Note this is not a stand alone driver, it gets included in ov519.c, this >> --- a/drivers/media/usb/stkwebcam/stk-webcam.c >> +++ b/drivers/media/usb/stkwebcam/stk-webcam.c >> @@ -1,3 +1,4 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * stk-webcam.c : Driver for Syntek 1125 USB webcam controller >> * >> @@ -6,16 +7,6 @@ >> * >> * Some parts are inspired from cafe_ccic.c >> * Copyright 2006-2007 Jonathan Corbet >> - * >> - * 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 >> - * 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. >> */ >> >> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt >> --- a/drivers/media/usb/stkwebcam/stk-webcam.h >> +++ b/drivers/media/usb/stkwebcam/stk-webcam.h >> @@ -1,18 +1,9 @@ >> +/* SPDX-License-Identifier: GPL-2.0-or-later */ >> /* >> * stk-webcam.h : Driver for Syntek 1125 USB webcam controller >> * >> * Copyright (C) 2006 Nicolas VIVIEN >> * Copyright 2007-2008 Jaime Velasco Juan <jsagarribay@xxxxxxxxx> >> - * >> - * 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 >> - * 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. >> */ >> >> #ifndef STKWEBCAM_H >> --- a/include/net/dn_nsp.h >> +++ b/include/net/dn_nsp.h >> @@ -1,17 +1,9 @@ >> +/* SPDX-License-Identifier: GPL-2.0-or-later */ >> #ifndef _NET_DN_NSP_H >> #define _NET_DN_NSP_H >> /****************************************************************************** >> (c) 1995-1998 E.M. Serrat emserrat@xxxxxxxxxxxxx >> >> - 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 >> - 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. >> *******************************************************************************/ >> /* dn_nsp.c functions prototyping */ >> >> --- a/include/net/dn_route.h >> +++ b/include/net/dn_route.h >> @@ -1,18 +1,10 @@ >> +/* SPDX-License-Identifier: GPL-2.0-or-later */ >> #ifndef _NET_DN_ROUTE_H >> #define _NET_DN_ROUTE_H >> >> /****************************************************************************** >> (c) 1995-1998 E.M. Serrat emserrat@xxxxxxxxxxxxx >> >> - 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 >> - 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. >> *******************************************************************************/ >> >> struct sk_buff *dn_alloc_skb(struct sock *sk, int size, gfp_t pri); >> --- a/net/decnet/af_decnet.c >> +++ b/net/decnet/af_decnet.c >> @@ -1,3 +1,4 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> >> /* >> * DECnet An implementation of the DECnet protocol suite for the LINUX >> @@ -46,15 +47,6 @@ >> /****************************************************************************** >> (c) 1995-1998 E.M. Serrat emserrat@xxxxxxxxxxxxx >> >> - 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 >> - 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. >> >> HISTORY: >> >> --- a/net/decnet/dn_nsp_in.c >> +++ b/net/decnet/dn_nsp_in.c >> @@ -1,3 +1,4 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * DECnet An implementation of the DECnet protocol suite for the LINUX >> * operating system. DECnet is implemented using the BSD Socket >> @@ -34,15 +35,6 @@ >> /****************************************************************************** >> (c) 1995-1998 E.M. Serrat emserrat@xxxxxxxxxxxxx >> >> - 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 >> - 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. >> *******************************************************************************/ >> >> #include <linux/errno.h> >> --- a/net/decnet/dn_nsp_out.c >> +++ b/net/decnet/dn_nsp_out.c >> @@ -1,3 +1,4 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * DECnet An implementation of the DECnet protocol suite for the LINUX >> * operating system. DECnet is implemented using the BSD Socket >> @@ -26,15 +27,6 @@ >> /****************************************************************************** >> (c) 1995-1998 E.M. Serrat emserrat@xxxxxxxxxxxxx >> >> - 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 >> - 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. >> *******************************************************************************/ >> >> #include <linux/errno.h> >> --- a/net/decnet/dn_route.c >> +++ b/net/decnet/dn_route.c >> @@ -1,3 +1,4 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* >> * DECnet An implementation of the DECnet protocol suite for the LINUX >> * operating system. DECnet is implemented using the BSD Socket >> @@ -44,15 +45,6 @@ >> /****************************************************************************** >> (c) 1995-1998 E.M. Serrat emserrat@xxxxxxxxxxxxx >> >> - 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 >> - 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. >> *******************************************************************************/ >> >> #include <linux/errno.h> >> >> >