This one has a fairly detailed nonstandard disclaimer paragraph, which doesn't seem to be taken from any widely-used license. On Wed, May 22, 2019 at 8:05 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 at > your option any later version see the copying file in the top level > directory or visit http www gnu org licenses gpl 2 0 html 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 this program is provided as > is and with all faults and without warranty of any kind you are > solely responsible for determining the appropriateness of using and > distributing the program and assume all risks associated with your > exercise of rights with respect to the program including but not > limited to infringement of third party rights the risks and costs of > program errors damage to or loss of data programs or equipment and > unavailability or interruption of operations under no circumstances > will the contributor of this program be liable for any damages of > any kind arising from your use or distribution of this program > > extracted by the scancode license scanner the SPDX license identifier > > GPL-2.0-or-later > > has been chosen to replace the boilerplate/reference in 6 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=62aaf1489146 > --- > drivers/scsi/ufs/Kconfig | 24 +----------------------- > drivers/scsi/ufs/ufs.h | 25 +------------------------ > drivers/scsi/ufs/ufshcd-pci.c | 25 +------------------------ > drivers/scsi/ufs/ufshcd-pltfrm.c | 25 +------------------------ > drivers/scsi/ufs/ufshcd.h | 25 +------------------------ > drivers/scsi/ufs/ufshci.h | 25 +------------------------ > 6 files changed, 6 insertions(+), 143 deletions(-) > > --- a/drivers/scsi/ufs/Kconfig > +++ b/drivers/scsi/ufs/Kconfig > @@ -1,3 +1,4 @@ > +# SPDX-License-Identifier: GPL-2.0-or-later > # > # Kernel configuration file for the UFS Host Controller > # > @@ -8,29 +9,6 @@ > # Santosh Yaraganavi <santosh.sy@xxxxxxxxxxx> > # Vinayak Holikatti <h.vinayak@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 (at your option) any later version. > -# See the COPYING file in the top-level directory or visit > -# <http://www.gnu.org/licenses/gpl-2.0.html> > -# > -# 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. > -# > -# This program is provided "AS IS" and "WITH ALL FAULTS" and > -# without warranty of any kind. You are solely responsible for > -# determining the appropriateness of using and distributing > -# the program and assume all risks associated with your exercise > -# of rights with respect to the program, including but not limited > -# to infringement of third party rights, the risks and costs of > -# program errors, damage to or loss of data, programs or equipment, > -# and unavailability or interruption of operations. Under no > -# circumstances will the contributor of this Program be liable for > -# any damages of any kind arising from your use or distribution of > -# this program. > > config SCSI_UFSHCD > tristate "Universal Flash Storage Controller Driver Core" > --- a/drivers/scsi/ufs/ufs.h > +++ b/drivers/scsi/ufs/ufs.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * Universal Flash Storage Host controller driver > * > @@ -7,30 +8,6 @@ > * Authors: > * Santosh Yaraganavi <santosh.sy@xxxxxxxxxxx> > * Vinayak Holikatti <h.vinayak@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 (at your option) any later version. > - * See the COPYING file in the top-level directory or visit > - * <http://www.gnu.org/licenses/gpl-2.0.html> > - * > - * 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. > - * > - * This program is provided "AS IS" and "WITH ALL FAULTS" and > - * without warranty of any kind. You are solely responsible for > - * determining the appropriateness of using and distributing > - * the program and assume all risks associated with your exercise > - * of rights with respect to the program, including but not limited > - * to infringement of third party rights, the risks and costs of > - * program errors, damage to or loss of data, programs or equipment, > - * and unavailability or interruption of operations. Under no > - * circumstances will the contributor of this Program be liable for > - * any damages of any kind arising from your use or distribution of > - * this program. > */ > > #ifndef _UFS_H > --- a/drivers/scsi/ufs/ufshcd-pci.c > +++ b/drivers/scsi/ufs/ufshcd-pci.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * Universal Flash Storage Host controller PCI glue driver > * > @@ -7,30 +8,6 @@ > * Authors: > * Santosh Yaraganavi <santosh.sy@xxxxxxxxxxx> > * Vinayak Holikatti <h.vinayak@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 (at your option) any later version. > - * See the COPYING file in the top-level directory or visit > - * <http://www.gnu.org/licenses/gpl-2.0.html> > - * > - * 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. > - * > - * This program is provided "AS IS" and "WITH ALL FAULTS" and > - * without warranty of any kind. You are solely responsible for > - * determining the appropriateness of using and distributing > - * the program and assume all risks associated with your exercise > - * of rights with respect to the program, including but not limited > - * to infringement of third party rights, the risks and costs of > - * program errors, damage to or loss of data, programs or equipment, > - * and unavailability or interruption of operations. Under no > - * circumstances will the contributor of this Program be liable for > - * any damages of any kind arising from your use or distribution of > - * this program. > */ > > #include "ufshcd.h" > --- a/drivers/scsi/ufs/ufshcd-pltfrm.c > +++ b/drivers/scsi/ufs/ufshcd-pltfrm.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * Universal Flash Storage Host controller Platform bus based glue driver > * > @@ -7,30 +8,6 @@ > * Authors: > * Santosh Yaraganavi <santosh.sy@xxxxxxxxxxx> > * Vinayak Holikatti <h.vinayak@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 (at your option) any later version. > - * See the COPYING file in the top-level directory or visit > - * <http://www.gnu.org/licenses/gpl-2.0.html> > - * > - * 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. > - * > - * This program is provided "AS IS" and "WITH ALL FAULTS" and > - * without warranty of any kind. You are solely responsible for > - * determining the appropriateness of using and distributing > - * the program and assume all risks associated with your exercise > - * of rights with respect to the program, including but not limited > - * to infringement of third party rights, the risks and costs of > - * program errors, damage to or loss of data, programs or equipment, > - * and unavailability or interruption of operations. Under no > - * circumstances will the contributor of this Program be liable for > - * any damages of any kind arising from your use or distribution of > - * this program. > */ > > #include <linux/platform_device.h> > --- a/drivers/scsi/ufs/ufshcd.h > +++ b/drivers/scsi/ufs/ufshcd.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * Universal Flash Storage Host controller driver > * > @@ -8,30 +9,6 @@ > * Authors: > * Santosh Yaraganavi <santosh.sy@xxxxxxxxxxx> > * Vinayak Holikatti <h.vinayak@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 (at your option) any later version. > - * See the COPYING file in the top-level directory or visit > - * <http://www.gnu.org/licenses/gpl-2.0.html> > - * > - * 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. > - * > - * This program is provided "AS IS" and "WITH ALL FAULTS" and > - * without warranty of any kind. You are solely responsible for > - * determining the appropriateness of using and distributing > - * the program and assume all risks associated with your exercise > - * of rights with respect to the program, including but not limited > - * to infringement of third party rights, the risks and costs of > - * program errors, damage to or loss of data, programs or equipment, > - * and unavailability or interruption of operations. Under no > - * circumstances will the contributor of this Program be liable for > - * any damages of any kind arising from your use or distribution of > - * this program. > */ > > #ifndef _UFSHCD_H > --- a/drivers/scsi/ufs/ufshci.h > +++ b/drivers/scsi/ufs/ufshci.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * Universal Flash Storage Host controller driver > * > @@ -7,30 +8,6 @@ > * Authors: > * Santosh Yaraganavi <santosh.sy@xxxxxxxxxxx> > * Vinayak Holikatti <h.vinayak@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 (at your option) any later version. > - * See the COPYING file in the top-level directory or visit > - * <http://www.gnu.org/licenses/gpl-2.0.html> > - * > - * 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. > - * > - * This program is provided "AS IS" and "WITH ALL FAULTS" and > - * without warranty of any kind. You are solely responsible for > - * determining the appropriateness of using and distributing > - * the program and assume all risks associated with your exercise > - * of rights with respect to the program, including but not limited > - * to infringement of third party rights, the risks and costs of > - * program errors, damage to or loss of data, programs or equipment, > - * and unavailability or interruption of operations. Under no > - * circumstances will the contributor of this Program be liable for > - * any damages of any kind arising from your use or distribution of > - * this program. > */ > > #ifndef _UFSHCI_H > > -- Richard Fontana Senior Commercial Counsel Red Hat, Inc.