Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4130087ybg; Fri, 25 Oct 2019 13:48:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqxPMLJj1g5hhf2lOZKdEHg96skB9EjM8HXZp2op2j/Y6TTzGxqEG4j1n5bZjUJ54hU9iAgu X-Received: by 2002:a17:906:4056:: with SMTP id y22mr5527607ejj.188.1572036509256; Fri, 25 Oct 2019 13:48:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572036509; cv=none; d=google.com; s=arc-20160816; b=XENDSmO5usjCqG2tZ+cHpoyS7/mQjpgCCBIfHJz70KuPOgPu5dUVj0E/u+HKm4hjpW 5g7kTYVYCuuQ5mNbooz2bxHrjkEpmqNZuQaxqQpgHgSLXsxhdKVHXD7Wk5Zn6nHHbk4S +gONez4jA4EEJlWCoPCA1A2BcikJ7uAVDn1zxVpp5MIDJOrHeaeeC4mam5wj+QI4L8/D NBtbDCz80Y4+xQD1omsPv5zEmPSUIT00gEMHNFYxOALHqROJu+1OFeA4B4GSrVYlaxLh dS9z8AK0ASCKwi+AQBmpgfFVjsUO8TNqIRHZsa59qz8wn6YJXllYtPxhVVTBxVU4NkeL xPKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=aGvxNo+9u7NX2jIjiLFrCSwHlb5M6zkz19jtkhvAKQQ=; b=cfrD7ivKozEleq+0786TtJ6YvDpa1NFgDnM4ig2QzJrTNT/Hv9yhYYHF2RnoyonhZs w8cI6A/Fmi7p/3Sey1TQJjH/AsFlq1/KkcEGATI8NRVRU2YKkoyMlgWV5Q2tRixYnGPx LS6vMaLCxaCfRXnnKW2QnKaQpA/hdJTCT0HuTTsp60zBR/3i9ZFCXlzjHsJh/NhSF5cs edmXmFGCoS/xweCNMraWMBEfuVCNcT851C7EHZh7cwB+Id1A1NKuveNcxcUPSL4IKy9/ lFPvDG1S2LFRnxefVPQ3MK3t0gVjb+vJ98Ki+cl+NAvoH2AsPEYewge8x9/09yqtgtwY tqvA== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a52si1931582eda.450.2019.10.25.13.48.05; Fri, 25 Oct 2019 13:48:29 -0700 (PDT) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727609AbfJYR4m (ORCPT + 99 others); Fri, 25 Oct 2019 13:56:42 -0400 Received: from mga11.intel.com ([192.55.52.93]:10973 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727961AbfJYRz4 (ORCPT ); Fri, 25 Oct 2019 13:55:56 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Oct 2019 10:55:53 -0700 X-IronPort-AV: E=Sophos;i="5.68,229,1569308400"; d="scan'208";a="201881012" Received: from dsp-dsk1.jf.intel.com ([10.54.70.6]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 25 Oct 2019 10:55:53 -0700 From: D Scott Phillips To: Dan Williams , David Howells , Dexuan Cui , Jerry Hoemann , stuart hayes , Toshi Kani , Vishal Verma , linux-nvdimm@lists.01.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH] uapi: Add the BSD-2-Clause license to ndctl.h Date: Fri, 25 Oct 2019 10:55:53 -0700 Message-Id: <20191025175553.63271-1-d.scott.phillips@intel.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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