From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) (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 277DF21127CC7 for ; Mon, 10 Sep 2018 17:41:08 -0700 (PDT) Date: Tue, 11 Sep 2018 08:40:16 +0800 From: kbuild test robot Subject: [RFC PATCH] libnvdimm, region_devs: nd_region_detach_and_reset() can be static Message-ID: <20180911004016.GA26156@lkp-wsm-ep1> References: <1536560508-24564-4-git-send-email-oceanhehy@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1536560508-24564-4-git-send-email-oceanhehy@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: Ocean He Cc: linux-nvdimm@lists.01.org, Ocean He , linux-kernel@vger.kernel.org, kbuild-all@01.org, zwisler@kernel.org List-ID: Fixes: 39ac5d361db2 ("libnvdimm, region_devs: reset related seeds when fail to create namespace") Signed-off-by: kbuild test robot --- region_devs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvdimm/region_devs.c b/drivers/nvdimm/region_devs.c index 4c46fb6..a2f667e 100644 --- a/drivers/nvdimm/region_devs.c +++ b/drivers/nvdimm/region_devs.c @@ -707,7 +707,7 @@ void nd_mapping_free_labels(struct nd_mapping *nd_mapping) * To ensure pfn_seed/dax_seed and namespace_seed are ready for * next namespace creation, here to do detach and reset. */ -void nd_region_detach_and_reset(struct device *dev, +static void nd_region_detach_and_reset(struct device *dev, struct nd_region *nd_region) { /* Only nd_pmem has been verified, fix me for other dev type. */ _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4E2BBC46469 for ; Tue, 11 Sep 2018 00:41:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0D7C22086A for ; Tue, 11 Sep 2018 00:41:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0D7C22086A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726546AbeIKFhn (ORCPT ); Tue, 11 Sep 2018 01:37:43 -0400 Received: from mga04.intel.com ([192.55.52.120]:32001 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726174AbeIKFhn (ORCPT ); Tue, 11 Sep 2018 01:37:43 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Sep 2018 17:41:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,358,1531810800"; d="scan'208";a="69864081" Received: from bee.sh.intel.com (HELO lkp-server01) ([10.239.97.14]) by fmsmga008.fm.intel.com with ESMTP; 10 Sep 2018 17:41:06 -0700 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1fzWjp-0001av-G9; Tue, 11 Sep 2018 08:41:05 +0800 Date: Tue, 11 Sep 2018 08:40:16 +0800 From: kbuild test robot To: Ocean He Cc: kbuild-all@01.org, dan.j.williams@intel.com, zwisler@kernel.org, vishal.l.verma@intel.com, dave.jiang@intel.com, linux-nvdimm@lists.01.org, linux-kernel@vger.kernel.org, Ocean He Subject: [RFC PATCH] libnvdimm, region_devs: nd_region_detach_and_reset() can be static Message-ID: <20180911004016.GA26156@lkp-wsm-ep1> References: <1536560508-24564-4-git-send-email-oceanhehy@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1536560508-24564-4-git-send-email-oceanhehy@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes: 39ac5d361db2 ("libnvdimm, region_devs: reset related seeds when fail to create namespace") Signed-off-by: kbuild test robot --- region_devs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvdimm/region_devs.c b/drivers/nvdimm/region_devs.c index 4c46fb6..a2f667e 100644 --- a/drivers/nvdimm/region_devs.c +++ b/drivers/nvdimm/region_devs.c @@ -707,7 +707,7 @@ void nd_mapping_free_labels(struct nd_mapping *nd_mapping) * To ensure pfn_seed/dax_seed and namespace_seed are ready for * next namespace creation, here to do detach and reset. */ -void nd_region_detach_and_reset(struct device *dev, +static void nd_region_detach_and_reset(struct device *dev, struct nd_region *nd_region) { /* Only nd_pmem has been verified, fix me for other dev type. */