From patchwork Mon Feb 8 22:44:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Williams X-Patchwork-Id: 8255171 Return-Path: X-Original-To: patchwork-linux-nvdimm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 50EAC9F319 for ; Mon, 8 Feb 2016 22:44:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 85194203B7 for ; Mon, 8 Feb 2016 22:44:54 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id 919452039E for ; Mon, 8 Feb 2016 22:44:53 +0000 (UTC) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 49B731A1E92; Mon, 8 Feb 2016 14:44:53 -0800 (PST) X-Original-To: linux-nvdimm@lists.01.org Delivered-To: linux-nvdimm@lists.01.org Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by ml01.01.org (Postfix) with ESMTP id E31B31A1E92 for ; Mon, 8 Feb 2016 14:44:51 -0800 (PST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 08 Feb 2016 14:44:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,418,1449561600"; d="scan'208";a="898940129" Received: from dwillia2-desk3.jf.intel.com (HELO dwillia2-desk3.amr.corp.intel.com) ([10.54.39.136]) by fmsmga001.fm.intel.com with ESMTP; 08 Feb 2016 14:44:52 -0800 Subject: [ndctl PATCH] ndctl: quiet ndctl_bind() From: Dan Williams To: linux-nvdimm@lists.01.org Date: Mon, 08 Feb 2016 14:44:12 -0800 Message-ID: <20160208224358.29125.69341.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.17 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-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP When a namespace is claimed by a 'btt' or 'pfn' instance it is expected that attempts to bind the namespace will fail. Instead it is the 'btt' or 'pfn' device that is bound to the driver. Signed-off-by: Dan Williams --- lib/libndctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libndctl.c b/lib/libndctl.c index b85ae259827b..56838c8a2a92 100644 --- a/lib/libndctl.c +++ b/lib/libndctl.c @@ -3004,7 +3004,7 @@ static int ndctl_bind(struct ndctl_ctx *ctx, struct kmod_module *module, closedir(dir); if (rc) { - err(ctx, "%s: bind failed\n", devname); + dbg(ctx, "%s: bind failed\n", devname); return -ENXIO; } return 0;