From patchwork Fri Sep 8 23:38:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Williams X-Patchwork-Id: 9945135 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E2B846034B for ; Fri, 8 Sep 2017 23:45:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CF2D9289D6 for ; Fri, 8 Sep 2017 23:45:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C4590289D7; Fri, 8 Sep 2017 23:45:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E4021289DC for ; Fri, 8 Sep 2017 23:45:14 +0000 (UTC) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 1567F20945612; Fri, 8 Sep 2017 16:42:01 -0700 (PDT) X-Original-To: linux-nvdimm@lists.01.org Delivered-To: linux-nvdimm@lists.01.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 82E4121E8796E for ; Fri, 8 Sep 2017 16:42:00 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Sep 2017 16:44:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,363,1500966000"; d="scan'208";a="309678859" Received: from dwillia2-desk3.jf.intel.com (HELO dwillia2-desk3.amr.corp.intel.com) ([10.54.39.125]) by fmsmga004.fm.intel.com with ESMTP; 08 Sep 2017 16:44:50 -0700 Subject: [ndctl PATCH 1/2] ndctl: match new library symbols to their version From: Dan Williams To: linux-nvdimm@lists.01.org Date: Fri, 08 Sep 2017 16:38:26 -0700 Message-ID: <150491390688.35962.11854315078014907861.stgit@dwillia2-desk3.amr.corp.intel.com> User-Agent: StGit/0.17.1-9-g687f MIME-Version: 1.0 X-BeenThere: linux-nvdimm@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Linux-nvdimm developer list." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" X-Virus-Scanned: ClamAV using ClamSMTP We should have been doing this from the beginning for new symbols, but no time like the present to start. Signed-off-by: Dan Williams --- ndctl/lib/libndctl.sym | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/ndctl/lib/libndctl.sym b/ndctl/lib/libndctl.sym index 5a73a42f5030..8a1111672334 100644 --- a/ndctl/lib/libndctl.sym +++ b/ndctl/lib/libndctl.sym @@ -36,8 +36,6 @@ global: ndctl_bus_get_provider; ndctl_bus_get_ctx; ndctl_bus_wait_probe; - ndctl_bus_get_region_by_physical_address; - ndctl_bus_get_dimm_by_physical_address; ndctl_dimm_get_first; ndctl_dimm_get_next; ndctl_dimm_get_handle; @@ -115,11 +113,7 @@ global: ndctl_cmd_smart_threshold_get_temperature; ndctl_cmd_smart_threshold_get_spares; ndctl_dimm_zero_labels; - ndctl_dimm_read_labels; - ndctl_dimm_validate_labels; - ndctl_dimm_init_labels; ndctl_dimm_get_available_labels; - ndctl_dimm_sizeof_namespace_label; ndctl_region_get_first; ndctl_region_get_next; ndctl_region_get_id; @@ -163,7 +157,6 @@ global: ndctl_mapping_get_region; ndctl_mapping_get_offset; ndctl_mapping_get_length; - ndctl_mapping_get_position; ndctl_namespace_get_first; ndctl_namespace_get_next; ndctl_namespace_get_ctx; @@ -176,8 +169,6 @@ global: ndctl_namespace_get_devname; ndctl_namespace_get_block_device; ndctl_namespace_get_mode; - ndctl_namespace_set_enforce_mode; - ndctl_namespace_get_enforce_mode; ndctl_region_get_nstype; ndctl_namespace_get_type; ndctl_namespace_get_type_name; @@ -289,3 +280,16 @@ global: ndctl_dax_is_configured; ndctl_dax_get_daxctl_region; } LIBNDCTL_1; + +LIBNDCTL_13 { +global: + ndctl_bus_get_region_by_physical_address; + ndctl_bus_get_dimm_by_physical_address; + ndctl_dimm_read_labels; + ndctl_dimm_validate_labels; + ndctl_dimm_init_labels; + ndctl_dimm_sizeof_namespace_label; + ndctl_mapping_get_position; + ndctl_namespace_set_enforce_mode; + ndctl_namespace_get_enforce_mode; +} LIBNDCTL_3;