Linux-NVDIMM Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] uapi: Add the BSD-2-Clause license to ndctl.h
@ 2019-10-25 17:55 D Scott Phillips
  2019-10-25 21:52 ` Dexuan Cui
  2019-10-25 22:45 ` Dan Williams
  0 siblings, 2 replies; 6+ messages in thread
From: D Scott Phillips @ 2019-10-25 17:55 UTC (permalink / raw)
  To: Dan Williams, David Howells, Dexuan Cui, Jerry Hoemann,
	stuart hayes, Toshi Kani, Vishal Verma, linux-nvdimm
  Cc: linux-kernel

Allow ndctl.h to be licensed with BSD-2-Clause so that other
operating systems can provide the same user level interface.
---

I've been working on nvdimm support in FreeBSD and would like to
offer the same ndctl API there to ease porting of application
code. Here I'm proposing to add the BSD-2-Clause license to this
header file, so that it can later be copied into FreeBSD.

I believe that all the authors of changes to this file (in the To:
list) would need to agree to this change before it could be
accepted, so any signed-off-by is intentionally ommited for now.
Thanks,

Scott

 include/uapi/linux/ndctl.h | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/include/uapi/linux/ndctl.h b/include/uapi/linux/ndctl.h
index de5d90212409..dd9718bc9401 100644
--- a/include/uapi/linux/ndctl.h
+++ b/include/uapi/linux/ndctl.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: ((LGPL-2.1 WITH Linux-syscall-note) OR BSD-2-Clause) */
 /*
  * Copyright (c) 2014-2016, Intel Corporation.
  *
@@ -9,6 +10,32 @@
  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  * FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for
  * more details.
+ *
+ * This -- and only this -- header file may also be distributed under
+ * the terms of the BSD Licence as follows:
+ *
+ * Copyright (C) 2014-2016, Intel Corporation.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. 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.
+ *
+ * THIS SOFTWARE IS PROVIDED BY AUTHOR 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 AUTHOR 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.
  */
 #ifndef __NDCTL_H__
 #define __NDCTL_H__
-- 
2.23.0
_______________________________________________
Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org
To unsubscribe send an email to linux-nvdimm-leave@lists.01.org

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: [PATCH] uapi: Add the BSD-2-Clause license to ndctl.h
  2019-10-25 17:55 [PATCH] uapi: Add the BSD-2-Clause license to ndctl.h D Scott Phillips
@ 2019-10-25 21:52 ` Dexuan Cui
  2019-10-25 22:45 ` Dan Williams
  1 sibling, 0 replies; 6+ messages in thread
From: Dexuan Cui @ 2019-10-25 21:52 UTC (permalink / raw)
  To: D Scott Phillips, Dan Williams, David Howells, Jerry Hoemann,
	stuart hayes, Toshi Kani, Vishal Verma, linux-nvdimm
  Cc: linux-kernel

> From: D Scott Phillips <d.scott.phillips@intel.com>
> Sent: Friday, October 25, 2019 10:56 AM
> To: Dan Williams <dan.j.williams@intel.com>; David Howells
> <dhowells@redhat.com>; Dexuan Cui <decui@microsoft.com>; Jerry
> Hoemann <jerry.hoemann@hpe.com>; stuart hayes
> <stuart.w.hayes@gmail.com>; Toshi Kani <toshi.kani@hpe.com>; Vishal Verma
> <vishal.l.verma@intel.com>; linux-nvdimm@lists.01.org
> Cc: linux-kernel@vger.kernel.org
> Subject: [PATCH] uapi: Add the BSD-2-Clause license to ndctl.h
> 
> Allow ndctl.h to be licensed with BSD-2-Clause so that other
> operating systems can provide the same user level interface.
> ---
> 
> I've been working on nvdimm support in FreeBSD and would like to
> offer the same ndctl API there to ease porting of application
> code. Here I'm proposing to add the BSD-2-Clause license to this
> header file, so that it can later be copied into FreeBSD.
> 
> I believe that all the authors of changes to this file (in the To:
> list) would need to agree to this change before it could be
> accepted, so any signed-off-by is intentionally ommited for now.
> Thanks,
> 
> Scott

Hi Scott,
I agree to make the change if Dan and Vishal also agree. :-)

Thanks,
-- Dexuan
_______________________________________________
Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org
To unsubscribe send an email to linux-nvdimm-leave@lists.01.org

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] uapi: Add the BSD-2-Clause license to ndctl.h
  2019-10-25 17:55 [PATCH] uapi: Add the BSD-2-Clause license to ndctl.h D Scott Phillips
  2019-10-25 21:52 ` Dexuan Cui
@ 2019-10-25 22:45 ` Dan Williams
  2019-10-25 22:56   ` Verma, Vishal L
  1 sibling, 1 reply; 6+ messages in thread
From: Dan Williams @ 2019-10-25 22:45 UTC (permalink / raw)
  To: D Scott Phillips
  Cc: David Howells, stuart hayes, linux-nvdimm, Linux Kernel Mailing List

On Fri, Oct 25, 2019 at 10:55 AM D Scott Phillips
<d.scott.phillips@intel.com> wrote:
>
> Allow ndctl.h to be licensed with BSD-2-Clause so that other
> operating systems can provide the same user level interface.
> ---
>
> I've been working on nvdimm support in FreeBSD and would like to
> offer the same ndctl API there to ease porting of application
> code. Here I'm proposing to add the BSD-2-Clause license to this
> header file, so that it can later be copied into FreeBSD.
>
> I believe that all the authors of changes to this file (in the To:
> list) would need to agree to this change before it could be
> accepted, so any signed-off-by is intentionally ommited for now.
> Thanks,

I have no problem with this change, but let's take the opportunity to
let SPDX do its job and drop the full license text.
_______________________________________________
Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org
To unsubscribe send an email to linux-nvdimm-leave@lists.01.org

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] uapi: Add the BSD-2-Clause license to ndctl.h
  2019-10-25 22:45 ` Dan Williams
@ 2019-10-25 22:56   ` Verma, Vishal L
  2019-10-28 14:54     ` Kani, Toshi
  0 siblings, 1 reply; 6+ messages in thread
From: Verma, Vishal L @ 2019-10-25 22:56 UTC (permalink / raw)
  To: Williams, Dan J, Phillips, D Scott
  Cc: linux-nvdimm, stuart.w.hayes, dhowells, linux-kernel


On Fri, 2019-10-25 at 15:45 -0700, Dan Williams wrote:
> On Fri, Oct 25, 2019 at 10:55 AM D Scott Phillips
> <d.scott.phillips@intel.com> wrote:
> > Allow ndctl.h to be licensed with BSD-2-Clause so that other
> > operating systems can provide the same user level interface.
> > ---
> > 
> > I've been working on nvdimm support in FreeBSD and would like to
> > offer the same ndctl API there to ease porting of application
> > code. Here I'm proposing to add the BSD-2-Clause license to this
> > header file, so that it can later be copied into FreeBSD.
> > 
> > I believe that all the authors of changes to this file (in the To:
> > list) would need to agree to this change before it could be
> > accepted, so any signed-off-by is intentionally ommited for now.
> > Thanks,
> 
> I have no problem with this change, but let's take the opportunity to
> let SPDX do its job and drop the full license text.

This is fine by me too, barring the full license text vs. SPDX caveat
Dan mentions.
_______________________________________________
Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org
To unsubscribe send an email to linux-nvdimm-leave@lists.01.org

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] uapi: Add the BSD-2-Clause license to ndctl.h
  2019-10-25 22:56   ` Verma, Vishal L
@ 2019-10-28 14:54     ` Kani, Toshi
  2019-10-28 19:23       ` Jerry Hoemann
  0 siblings, 1 reply; 6+ messages in thread
From: Kani, Toshi @ 2019-10-28 14:54 UTC (permalink / raw)
  To: dan.j.williams, vishal.l.verma, d.scott.phillips
  Cc: linux-nvdimm, stuart.w.hayes, dhowells, linux-kernel

On Fri, 2019-10-25 at 22:56 +0000, Verma, Vishal L wrote:
> On Fri, 2019-10-25 at 15:45 -0700, Dan Williams wrote:
> > On Fri, Oct 25, 2019 at 10:55 AM D Scott Phillips
> > <d.scott.phillips@intel.com> wrote:
> > > Allow ndctl.h to be licensed with BSD-2-Clause so that other
> > > operating systems can provide the same user level interface.
> > > ---
> > > 
> > > I've been working on nvdimm support in FreeBSD and would like to
> > > offer the same ndctl API there to ease porting of application
> > > code. Here I'm proposing to add the BSD-2-Clause license to this
> > > header file, so that it can later be copied into FreeBSD.
> > > 
> > > I believe that all the authors of changes to this file (in the To:
> > > list) would need to agree to this change before it could be
> > > accepted, so any signed-off-by is intentionally ommited for now.
> > > Thanks,
> > 
> > I have no problem with this change, but let's take the opportunity to
> > let SPDX do its job and drop the full license text.
> 
> This is fine by me too, barring the full license text vs. SPDX caveat
> Dan mentions.

I agree with the plan.

Thanks,
Toshi
_______________________________________________
Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org
To unsubscribe send an email to linux-nvdimm-leave@lists.01.org

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] uapi: Add the BSD-2-Clause license to ndctl.h
  2019-10-28 14:54     ` Kani, Toshi
@ 2019-10-28 19:23       ` Jerry Hoemann
  0 siblings, 0 replies; 6+ messages in thread
From: Jerry Hoemann @ 2019-10-28 19:23 UTC (permalink / raw)
  To: Kani, Toshi
  Cc: d.scott.phillips, linux-nvdimm, stuart.w.hayes, dhowells, linux-kernel

On Mon, Oct 28, 2019 at 08:54:35AM -0600, Kani, Toshi wrote:
> On Fri, 2019-10-25 at 22:56 +0000, Verma, Vishal L wrote:
> > On Fri, 2019-10-25 at 15:45 -0700, Dan Williams wrote:
> > > On Fri, Oct 25, 2019 at 10:55 AM D Scott Phillips
> > > <d.scott.phillips@intel.com> wrote:
> > > > Allow ndctl.h to be licensed with BSD-2-Clause so that other
> > > > operating systems can provide the same user level interface.
> > > > ---
> > > > 
> > > > I've been working on nvdimm support in FreeBSD and would like to
> > > > offer the same ndctl API there to ease porting of application
> > > > code. Here I'm proposing to add the BSD-2-Clause license to this
> > > > header file, so that it can later be copied into FreeBSD.
> > > > 
> > > > I believe that all the authors of changes to this file (in the To:
> > > > list) would need to agree to this change before it could be
> > > > accepted, so any signed-off-by is intentionally ommited for now.
> > > > Thanks,
> > > 
> > > I have no problem with this change, but let's take the opportunity to
> > > let SPDX do its job and drop the full license text.
> > 
> > This is fine by me too, barring the full license text vs. SPDX caveat
> > Dan mentions.
> 
> I agree with the plan.
> 
I agree also.

-- 

-----------------------------------------------------------------------------
Jerry Hoemann                  Software Engineer   Hewlett Packard Enterprise
-----------------------------------------------------------------------------
_______________________________________________
Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org
To unsubscribe send an email to linux-nvdimm-leave@lists.01.org

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, back to index

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-25 17:55 [PATCH] uapi: Add the BSD-2-Clause license to ndctl.h D Scott Phillips
2019-10-25 21:52 ` Dexuan Cui
2019-10-25 22:45 ` Dan Williams
2019-10-25 22:56   ` Verma, Vishal L
2019-10-28 14:54     ` Kani, Toshi
2019-10-28 19:23       ` Jerry Hoemann

Linux-NVDIMM Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-nvdimm/0 linux-nvdimm/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-nvdimm linux-nvdimm/ https://lore.kernel.org/linux-nvdimm \
		linux-nvdimm@lists.01.org
	public-inbox-index linux-nvdimm

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.01.lists.linux-nvdimm


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git