Message ID | 20190501161417.32592-21-hch@lst.de (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | [01/24] scsi: add SPDX tags to scsi midlayer files missing licensing information | expand |
On 5/1/19 6:14 PM, Christoph Hellwig wrote: > Use the the GPLv2 SPDX tag instead of verbose boilerplate text. > > Signed-off-by: Christoph Hellwig <hch@lst.de> > --- > drivers/scsi/ses.c | 20 ++------------------ > 1 file changed, 2 insertions(+), 18 deletions(-) > > diff --git a/drivers/scsi/ses.c b/drivers/scsi/ses.c > index 0fc39224ce1e..8afea5a1d3f0 100644 > --- a/drivers/scsi/ses.c > +++ b/drivers/scsi/ses.c > @@ -1,25 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0 > /* > * SCSI Enclosure Services > * > * Copyright (C) 2008 James Bottomley <James.Bottomley@HansenPartnership.com> > - * > -**----------------------------------------------------------------------------- > -** > -** This program is free software; you can redistribute it and/or > -** modify it under the terms of the GNU General Public License > -** version 2 as published by the Free Software Foundation. > -** > -** 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., 675 Mass Ave, Cambridge, MA 02139, USA. > -** > -**----------------------------------------------------------------------------- > -*/ > + */ > > #include <linux/slab.h> > #include <linux/module.h> > Reviewed-by: Hannes Reinecke <hare@suse.com> Cheers, Hannes
diff --git a/drivers/scsi/ses.c b/drivers/scsi/ses.c index 0fc39224ce1e..8afea5a1d3f0 100644 --- a/drivers/scsi/ses.c +++ b/drivers/scsi/ses.c @@ -1,25 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * SCSI Enclosure Services * * Copyright (C) 2008 James Bottomley <James.Bottomley@HansenPartnership.com> - * -**----------------------------------------------------------------------------- -** -** This program is free software; you can redistribute it and/or -** modify it under the terms of the GNU General Public License -** version 2 as published by the Free Software Foundation. -** -** 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., 675 Mass Ave, Cambridge, MA 02139, USA. -** -**----------------------------------------------------------------------------- -*/ + */ #include <linux/slab.h> #include <linux/module.h>
Use the the GPLv2 SPDX tag instead of verbose boilerplate text. Signed-off-by: Christoph Hellwig <hch@lst.de> --- drivers/scsi/ses.c | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-)