On Fri, Jul 17, 2020 at 09:06:03AM +0300, Leon Romanovsky wrote: > On Thu, Jul 16, 2020 at 04:45:07PM -0300, Jason Gunthorpe wrote: > > On Tue, Jul 14, 2020 at 08:35:23AM +0300, Leon Romanovsky wrote: > > > diff --git a/include/rdma/ib_hdrs.h b/include/rdma/ib_hdrs.h > > > index 9a90bd031e8c..03567e7c5c57 100644 > > > +++ b/include/rdma/ib_hdrs.h > > > @@ -1,48 +1,6 @@ > > > +/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ > > > /* > > > * Copyright(c) 2016 - 2018 Intel Corporation. > > > - * > > > - * This file is provided under a dual BSD/GPLv2 license. When using or > > > - * redistributing this file, you may do so under either license. > > > - * > > > - * GPL LICENSE SUMMARY > > > - * > > > - * This program is free software; you can redistribute it and/or modify > > > - * it under the terms of version 2 of the GNU General Public License 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. > > > - * > > > - * BSD LICENSE > > > - * > > > - * Redistribution and use in source and binary forms, with or without > > > - * modification, are permitted provided that the following conditions > > > - * are met: > > > - * > > > - * - Redistributions of source code must retain the above copyright > > > - * notice, this list of conditions and the following disclaimer. > > > - * - Redistributions in binary form must reproduce the above copyright > > > - * notice, this list of conditions and the following disclaimer in > > > - * the documentation and/or other materials provided with the > > > - * distribution. > > > - * - Neither the name of Intel Corporation nor the names of its > > > - * contributors may be used to endorse or promote products derived > > > - * from this software without specific prior written permission. > > > - * > > > - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS > > > - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT > > > - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR > > > - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT > > > - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, > > > - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT > > > - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, > > > - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY > > > - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT > > > - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE > > > - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. > > > - * > > > > This text is not Linux-OpenIB. License changes can't be done blindly > > only exact blocks of text can be replaced by SPDX. > > Do you know why it is not OpenIB? Intel's preference, most of their licenses are different > Can we relicense it? No > The difference between BSD and OpenIB is only in MIT disclaimer, > which is very logical addition to me. Doesn't matter, it needs to use the SPDX tag that matches the text exactly Jason