Reviewed-by: Allison Randal <allison@xxxxxxxxxxx> On 5/20/19 3:19 AM, Thomas Gleixner wrote: > Based on 1 normalized pattern(s): > > this file is licensed under gplv2 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 59 temple place suite > 330 boston ma 02111 1307 usa > > extracted by the scancode license scanner the SPDX license identifier > > GPL-2.0-or-later > > has been chosen to replace the boilerplate/reference in 5 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=bbbb499e964b > --- > drivers/scsi/libsas/sas_init.c | 19 +------------------ > drivers/scsi/libsas/sas_internal.h | 19 +------------------ > drivers/scsi/libsas/sas_scsi_host.c | 19 +------------------ > include/scsi/libsas.h | 19 +------------------ > include/scsi/sas.h | 19 +------------------ > 5 files changed, 5 insertions(+), 90 deletions(-) > > --- a/drivers/scsi/libsas/sas_init.c > +++ b/drivers/scsi/libsas/sas_init.c > @@ -1,26 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * Serial Attached SCSI (SAS) Transport Layer initialization > * > * Copyright (C) 2005 Adaptec, Inc. All rights reserved. > * Copyright (C) 2005 Luben Tuikov <luben_tuikov@xxxxxxxxxxx> > - * > - * This file is licensed under GPLv2. > - * > - * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 > - * USA > - * > */ > > #include <linux/module.h> > --- a/drivers/scsi/libsas/sas_internal.h > +++ b/drivers/scsi/libsas/sas_internal.h > @@ -1,26 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * Serial Attached SCSI (SAS) class internal header file > * > * Copyright (C) 2005 Adaptec, Inc. All rights reserved. > * Copyright (C) 2005 Luben Tuikov <luben_tuikov@xxxxxxxxxxx> > - * > - * This file is licensed under GPLv2. > - * > - * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 > - * USA > - * > */ > > #ifndef _SAS_INTERNAL_H_ > --- a/drivers/scsi/libsas/sas_scsi_host.c > +++ b/drivers/scsi/libsas/sas_scsi_host.c > @@ -1,26 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * Serial Attached SCSI (SAS) class SCSI Host glue. > * > * Copyright (C) 2005 Adaptec, Inc. All rights reserved. > * Copyright (C) 2005 Luben Tuikov <luben_tuikov@xxxxxxxxxxx> > - * > - * This file is licensed under GPLv2. > - * > - * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 > - * USA > - * > */ > > #include <linux/kthread.h> > --- a/include/scsi/libsas.h > +++ b/include/scsi/libsas.h > @@ -1,26 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * SAS host prototypes and structures header file > * > * Copyright (C) 2005 Adaptec, Inc. All rights reserved. > * Copyright (C) 2005 Luben Tuikov <luben_tuikov@xxxxxxxxxxx> > - * > - * This file is licensed under GPLv2. > - * > - * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 > - * USA > - * > */ > > #ifndef _LIBSAS_H_ > --- a/include/scsi/sas.h > +++ b/include/scsi/sas.h > @@ -1,26 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * SAS structures and definitions header file > * > * Copyright (C) 2005 Adaptec, Inc. All rights reserved. > * Copyright (C) 2005 Luben Tuikov <luben_tuikov@xxxxxxxxxxx> > - * > - * This file is licensed under GPLv2. > - * > - * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 > - * USA > - * > */ > > #ifndef _SAS_H_ > >