Reviewed-by: Allison Randal <allison@xxxxxxxxxxx> On 5/22/19 3:51 AM, Thomas Gleixner 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 optional any later version of the license > > extracted by the scancode license scanner the SPDX license identifier > > GPL-2.0-or-later > > has been chosen to replace the boilerplate/reference in 3 file(s). > > Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> > > --- > https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=24eb93ccafe6 > --- > arch/powerpc/kvm/book3s.h | 7 +------ > include/linux/dma-contiguous.h | 6 +----- > mm/cma.c | 6 +----- > 3 files changed, 3 insertions(+), 16 deletions(-) > > --- a/arch/powerpc/kvm/book3s.h > +++ b/arch/powerpc/kvm/book3s.h > @@ -1,12 +1,7 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * Copyright IBM Corporation, 2013 > * Author Aneesh Kumar K.V <aneesh.kumar@xxxxxxxxxxxxxxxxxx> > - * > - * 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 optional) any later version of the license. > - * > */ > > #ifndef __POWERPC_KVM_BOOK3S_H__ > --- a/include/linux/dma-contiguous.h > +++ b/include/linux/dma-contiguous.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > #ifndef __LINUX_CMA_H > #define __LINUX_CMA_H > > @@ -7,11 +8,6 @@ > * Written by: > * Marek Szyprowski <m.szyprowski@xxxxxxxxxxx> > * Michal Nazarewicz <mina86@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 (at your optional) any later version of the license. > */ > > /* > --- a/mm/cma.c > +++ b/mm/cma.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * Contiguous Memory Allocator > * > @@ -9,11 +10,6 @@ > * Michal Nazarewicz <mina86@xxxxxxxxxx> > * Aneesh Kumar K.V <aneesh.kumar@xxxxxxxxxxxxxxxxxx> > * Joonsoo Kim <iamjoonsoo.kim@xxxxxxx> > - * > - * 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 optional) any later version of the license. > */ > > #define pr_fmt(fmt) "cma: " fmt > >