On Thu, May 23, 2019 at 5:29 AM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote: > > Based on 1 normalized pattern(s): > > gnu cc 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 gnu cc 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 Flagging these as being FSF-copyrighted -- see my earlier comment on code taken from FSF-copyrighted GNU project code. Richard > extracted by the scancode license scanner the SPDX license identifier > > GPL-2.0-or-later > > has been chosen to replace the boilerplate/reference in 4 file(s). > > Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> > --- > https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch5&id=e344d8bea171 > --- > arch/m68k/lib/ashldi3.c | 11 ++--------- > arch/m68k/lib/ashrdi3.c | 11 ++--------- > arch/m68k/lib/lshrdi3.c | 11 ++--------- > arch/m68k/lib/muldi3.c | 11 ++--------- > 4 files changed, 8 insertions(+), 36 deletions(-) > > --- a/arch/m68k/lib/ashldi3.c > +++ b/arch/m68k/lib/ashldi3.c > @@ -1,17 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* ashrdi3.c extracted from gcc-2.95.2/libgcc2.c which is: */ > /* Copyright (C) 1989, 92-98, 1999 Free Software Foundation, Inc. > > This file is part of GNU CC. > > -GNU CC 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. > - > -GNU CC 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/compiler.h> > #include <linux/export.h> > --- a/arch/m68k/lib/ashrdi3.c > +++ b/arch/m68k/lib/ashrdi3.c > @@ -1,17 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* ashrdi3.c extracted from gcc-2.7.2/libgcc2.c which is: */ > /* Copyright (C) 1989, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. > > This file is part of GNU CC. > > -GNU CC 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. > - > -GNU CC 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/compiler.h> > #include <linux/export.h> > --- a/arch/m68k/lib/lshrdi3.c > +++ b/arch/m68k/lib/lshrdi3.c > @@ -1,17 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* lshrdi3.c extracted from gcc-2.7.2/libgcc2.c which is: */ > /* Copyright (C) 1989, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. > > This file is part of GNU CC. > > -GNU CC 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. > - > -GNU CC 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/compiler.h> > #include <linux/export.h> > --- a/arch/m68k/lib/muldi3.c > +++ b/arch/m68k/lib/muldi3.c > @@ -1,18 +1,11 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* muldi3.c extracted from gcc-2.7.2.3/libgcc2.c and > gcc-2.7.2.3/longlong.h which is: */ > /* Copyright (C) 1989, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. > > This file is part of GNU CC. > > -GNU CC 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. > - > -GNU CC 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/compiler.h> > #include <linux/export.h> > > -- Richard Fontana Senior Commercial Counsel Red Hat, Inc.