[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180911004016.GA26156@lkp-wsm-ep1>
Date: Tue, 11 Sep 2018 08:40:16 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Ocean He <oceanhehy@...il.com>
Cc: kbuild-all@...org, dan.j.williams@...el.com, zwisler@...nel.org,
vishal.l.verma@...el.com, dave.jiang@...el.com,
linux-nvdimm@...ts.01.org, linux-kernel@...r.kernel.org,
Ocean He <hehy1@...ovo.com>
Subject: [RFC PATCH] libnvdimm, region_devs: nd_region_detach_and_reset() can
be static
Fixes: 39ac5d361db2 ("libnvdimm, region_devs: reset related seeds when fail to create namespace")
Signed-off-by: kbuild test robot <fengguang.wu@...el.com>
---
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. */
Powered by blists - more mailing lists