diff mbox series

[RFC] libnvdimm, region_devs: nd_region_detach_and_reset() can be static

Message ID 20180911004016.GA26156@lkp-wsm-ep1 (mailing list archive)
State New, archived
Headers show
Series [RFC] libnvdimm, region_devs: nd_region_detach_and_reset() can be static | expand

Commit Message

Fengguang Wu Sept. 11, 2018, 12:40 a.m. UTC
Fixes: 39ac5d361db2 ("libnvdimm, region_devs: reset related seeds when fail to create namespace")
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
---
 region_devs.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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. */