Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp223384imu; Tue, 27 Nov 2018 11:23:32 -0800 (PST) X-Google-Smtp-Source: AFSGD/XGvUBtZDYIuxVVw5riEyfx5UDdFm47H2YGGILc7s2o68GZLNmbt5Scm0sksJxiNXzHgugp X-Received: by 2002:a62:e90a:: with SMTP id j10-v6mr15145981pfh.228.1543346612425; Tue, 27 Nov 2018 11:23:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543346612; cv=none; d=google.com; s=arc-20160816; b=xBjGcqsJd9VM3zGCulqPMp4lc1SCuaAehd42uTr+Jmh5RAip6V8bycaujbk9Hh7HqX YViyGJwdtVB5gAbduaZH5XdTvNN8BDsj/1uA8kvdGZAL6lcwiRM/aNmkWlYhgTtWOce5 qf6yiwXk5tDcSfTD3GUTNrud+1TY3a5dsWfVtX2JhJUtmkdj9m8w/WT0VaOcm9dlGQSR 8a1uMe8nYUosnrBjFiV+YiIoE7dMOvYlfMQJNGICQ0cOi0FKBFdhO/l5poeSl04QoTev BGdIee1m5t4tlgA+U0JvyhUEFLY34jHdyWjJ96V5XahZ7gYfpOyo6NHXtOrTe5PGwsBf HbgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ZPF67tCqtrMiZdVEHedmmiUKDZTALiRmL59s3o8s1ZI=; b=q/eIsnM96aYWZweoME9Z7N6zDzBXonkqJlgp5MraAmjb1DqIenSQBtOE88P/yNAFVP hcUUWxV8W4UuQ/fO6u1tCzK0X0gOoJlM9DEZNy858uazXgRHLVRXUbNoXGkdY55U/MBt JuooFc/Da8vexFwf6JEkXZH16Wz/ugDl/5RbbH7ryVDubJzlw8D7KIYvF8kvt4aLdGa5 yvBQdJ52MPslsCHCjN1lGgdZ1rXPDfzsMkudhXjP+AwYfw05rs6t67IsKMCL0ul4POM+ Ea4DhlvfeT5Nd17EHkrSyTbVfh9EyNCHl2VeMRg76gvZxn9Y52bkH7i1xGFXbGnUhFOK 986w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Ag8IHJ3V; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b6si4554769pls.367.2018.11.27.11.23.17; Tue, 27 Nov 2018 11:23:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Ag8IHJ3V; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728211AbeK1Blp (ORCPT + 99 others); Tue, 27 Nov 2018 20:41:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:35218 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726381AbeK1Blo (ORCPT ); Tue, 27 Nov 2018 20:41:44 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 83FEC20817; Tue, 27 Nov 2018 14:43:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543329816; bh=6pzUgwS5MX2otTwkscnzJkYqPkKIhSKpGZHda5OdE98=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ag8IHJ3VAWjwc/nKqLiUHyhJS2dECpN3iaHMteU9r2UDksID0tK62BEo6pMlaEe0S 1AGCTZaYRwt818yb+15C42YNLhxlrpJ5Npz8nL+pv9KUfV4cxzlKTKN1SZW/ydtm+H O6VG7keyWZ8vtuE2A7rhru8Cm4h333KPwp5phfrE= Date: Tue, 27 Nov 2018 15:43:33 +0100 From: Greg KH To: John Garry Cc: jejb@linux.vnet.ibm.com, martin.petersen@oracle.com, linuxarm@huawei.com, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: [PATCH] scsi: libsas: Add missing license and update to SPDX license identifier Message-ID: <20181127144333.GA11004@kroah.com> References: <1543328132-243266-1-git-send-email-john.garry@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1543328132-243266-1-git-send-email-john.garry@huawei.com> User-Agent: Mutt/1.11.0 (2018-11-25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 27, 2018 at 10:15:32PM +0800, John Garry wrote: > Currently sas_task.c has no license specifier, so add SPDX license > identifier for GPL-2.0+. > > As mentioned in commit b24413180f56 ("License cleanup: add SPDX GPL-2.0 > license identifier to files with no license"), files with no license in > the kernel are under default kernel license. The default is GPLv2, not v2+. > > While I'm at it, all other libsas source code files are updated to use > SPDX license identifier for GPL-2.0+. > > Signed-off-by: John Garry > > diff --git a/drivers/scsi/libsas/Kconfig b/drivers/scsi/libsas/Kconfig > index 13739bfa..bdc6bce 100644 > --- a/drivers/scsi/libsas/Kconfig > +++ b/drivers/scsi/libsas/Kconfig > @@ -4,22 +4,7 @@ > # Copyright (C) 2005 Adaptec, Inc. All rights reserved. > # Copyright (C) 2005 Luben Tuikov > # > -# 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; version 2 of the > -# License. > -# > -# 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 > +# SPDX-License-Identifier: GPL-2.0+ No, the above license is GPLv2 only, do NOT change the license of a file unless you have permission to do so. Also, the spdx line goes at the first line of the file. > # > > config SCSI_SAS_LIBSAS > diff --git a/drivers/scsi/libsas/Makefile b/drivers/scsi/libsas/Makefile > index 5d51520..75998b7 100644 > --- a/drivers/scsi/libsas/Makefile > +++ b/drivers/scsi/libsas/Makefile > @@ -4,22 +4,7 @@ > # Copyright (C) 2005 Adaptec, Inc. All rights reserved. > # Copyright (C) 2005 Luben Tuikov > # > -# 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; version 2 of the > -# License. > -# > -# 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 > +# SPDX-License-Identifier: GPL-2.0+ Again you changed the license, not good :( Please do not make these types of changes unless you really know what you are doing, it is not ok to change the license of files. greg k-h