Reviewed-by: Allison Randal <allison@xxxxxxxxxxx> On 5/19/19 6:41 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 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 see http www gnu org licenses >> >> extracted by the scancode license scanner the SPDX license identifier >> >> GPL-2.0-or-later >> >> has been chosen to replace the boilerplate/reference in 13 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=7d6ae84716d8 >> --- >> drivers/memstick/host/rtsx_pci_ms.c | 14 +------------- >> drivers/misc/cardreader/rtl8411.c | 14 +------------- >> drivers/misc/cardreader/rts5209.c | 14 +------------- >> drivers/misc/cardreader/rts5227.c | 14 +------------- >> drivers/misc/cardreader/rts5229.c | 14 +------------- >> drivers/misc/cardreader/rts5249.c | 14 +------------- >> drivers/misc/cardreader/rts5260.c | 14 +------------- >> drivers/misc/cardreader/rtsx_pcr.c | 14 +------------- >> drivers/misc/cardreader/rtsx_pcr.h | 14 +------------- >> drivers/mmc/host/rtsx_pci_sdmmc.c | 14 +------------- >> drivers/net/usb/kaweth.c | 14 +------------- >> include/linux/rtsx_common.h | 14 +------------- >> include/linux/rtsx_pci.h | 14 +------------- >> 13 files changed, 13 insertions(+), 169 deletions(-) >> >> --- a/drivers/memstick/host/rtsx_pci_ms.c >> +++ b/drivers/memstick/host/rtsx_pci_ms.c >> @@ -1,20 +1,8 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* Realtek PCI-Express Memstick Card Interface driver >> * >> * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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 as published by the >> - * Free Software Foundation; either version 2, 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, see <http://www.gnu.org/licenses/>. >> - * >> * Author: >> * Wei WANG <wei_wang@xxxxxxxxxxxxxx> >> */ >> --- a/drivers/misc/cardreader/rtl8411.c >> +++ b/drivers/misc/cardreader/rtl8411.c >> @@ -1,20 +1,8 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* Driver for Realtek PCI-Express card reader >> * >> * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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 as published by the >> - * Free Software Foundation; either version 2, 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, see <http://www.gnu.org/licenses/>. >> - * >> * Author: >> * Wei WANG <wei_wang@xxxxxxxxxxxxxx> >> * Roger Tseng <rogerable@xxxxxxxxxxx> >> --- a/drivers/misc/cardreader/rts5209.c >> +++ b/drivers/misc/cardreader/rts5209.c >> @@ -1,20 +1,8 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* Driver for Realtek PCI-Express card reader >> * >> * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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 as published by the >> - * Free Software Foundation; either version 2, 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, see <http://www.gnu.org/licenses/>. >> - * >> * Author: >> * Wei WANG <wei_wang@xxxxxxxxxxxxxx> >> */ >> --- a/drivers/misc/cardreader/rts5227.c >> +++ b/drivers/misc/cardreader/rts5227.c >> @@ -1,20 +1,8 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* Driver for Realtek PCI-Express card reader >> * >> * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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 as published by the >> - * Free Software Foundation; either version 2, 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, see <http://www.gnu.org/licenses/>. >> - * >> * Author: >> * Wei WANG <wei_wang@xxxxxxxxxxxxxx> >> * Roger Tseng <rogerable@xxxxxxxxxxx> >> --- a/drivers/misc/cardreader/rts5229.c >> +++ b/drivers/misc/cardreader/rts5229.c >> @@ -1,20 +1,8 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* Driver for Realtek PCI-Express card reader >> * >> * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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 as published by the >> - * Free Software Foundation; either version 2, 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, see <http://www.gnu.org/licenses/>. >> - * >> * Author: >> * Wei WANG <wei_wang@xxxxxxxxxxxxxx> >> */ >> --- a/drivers/misc/cardreader/rts5249.c >> +++ b/drivers/misc/cardreader/rts5249.c >> @@ -1,20 +1,8 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* Driver for Realtek PCI-Express card reader >> * >> * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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 as published by the >> - * Free Software Foundation; either version 2, 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, see <http://www.gnu.org/licenses/>. >> - * >> * Author: >> * Wei WANG <wei_wang@xxxxxxxxxxxxxx> >> */ >> --- a/drivers/misc/cardreader/rts5260.c >> +++ b/drivers/misc/cardreader/rts5260.c >> @@ -1,20 +1,8 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* Driver for Realtek PCI-Express card reader >> * >> * Copyright(c) 2016-2017 Realtek Semiconductor Corp. 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 as published by the >> - * Free Software Foundation; either version 2, 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, see <http://www.gnu.org/licenses/>. >> - * >> * Author: >> * Steven FENG <steven_feng@xxxxxxxxxxxxxx> >> * Rui FENG <rui_feng@xxxxxxxxxxxxxx> >> --- a/drivers/misc/cardreader/rtsx_pcr.c >> +++ b/drivers/misc/cardreader/rtsx_pcr.c >> @@ -1,20 +1,8 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* Driver for Realtek PCI-Express card reader >> * >> * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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 as published by the >> - * Free Software Foundation; either version 2, 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, see <http://www.gnu.org/licenses/>. >> - * >> * Author: >> * Wei WANG <wei_wang@xxxxxxxxxxxxxx> >> */ >> --- a/drivers/misc/cardreader/rtsx_pcr.h >> +++ b/drivers/misc/cardreader/rtsx_pcr.h >> @@ -1,20 +1,8 @@ >> +/* SPDX-License-Identifier: GPL-2.0-or-later */ >> /* Driver for Realtek PCI-Express card reader >> * >> * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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 as published by the >> - * Free Software Foundation; either version 2, 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, see <http://www.gnu.org/licenses/>. >> - * >> * Author: >> * Wei WANG <wei_wang@xxxxxxxxxxxxxx> >> */ >> --- a/drivers/mmc/host/rtsx_pci_sdmmc.c >> +++ b/drivers/mmc/host/rtsx_pci_sdmmc.c >> @@ -1,20 +1,8 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /* Realtek PCI-Express SD/MMC Card Interface driver >> * >> * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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 as published by the >> - * Free Software Foundation; either version 2, 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, see <http://www.gnu.org/licenses/>. >> - * >> * Author: >> * Wei WANG <wei_wang@xxxxxxxxxxxxxx> >> */ >> --- a/drivers/net/usb/kaweth.c >> +++ b/drivers/net/usb/kaweth.c >> @@ -1,3 +1,4 @@ >> +// SPDX-License-Identifier: GPL-2.0-or-later >> /**************************************************************** >> * >> * kaweth.c - driver for KL5KUSB101 based USB->Ethernet >> @@ -14,19 +15,6 @@ >> * Also many thanks to Joel Silverman and Ed Surprenant at Kawasaki >> * for providing the firmware and driver resources. >> * >> - * 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, 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, see <http://www.gnu.org/licenses/>. >> - * >> ****************************************************************/ >> >> /* TODO: >> --- a/include/linux/rtsx_common.h >> +++ b/include/linux/rtsx_common.h >> @@ -1,20 +1,8 @@ >> +/* SPDX-License-Identifier: GPL-2.0-or-later */ >> /* Driver for Realtek driver-based card reader >> * >> * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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 as published by the >> - * Free Software Foundation; either version 2, 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, see <http://www.gnu.org/licenses/>. >> - * >> * Author: >> * Wei WANG <wei_wang@xxxxxxxxxxxxxx> >> */ >> --- a/include/linux/rtsx_pci.h >> +++ b/include/linux/rtsx_pci.h >> @@ -1,20 +1,8 @@ >> +/* SPDX-License-Identifier: GPL-2.0-or-later */ >> /* Driver for Realtek PCI-Express card reader >> * >> * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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 as published by the >> - * Free Software Foundation; either version 2, 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, see <http://www.gnu.org/licenses/>. >> - * >> * Author: >> * Wei WANG <wei_wang@xxxxxxxxxxxxxx> >> */ >> >> >