Skip to content

Commit d521fba

Browse files
stellarhopperdjbw
authored andcommitted
dax/pmem: Fix whitespace in dax_pmem
A few lines were whitespace damaged, with spaces at the start instead of tabs. This was noticed while debugging an nfit_test failure, so fix them. Cc: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Vishal Verma <vishal.l.verma@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
1 parent 085b775 commit d521fba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/dax/pmem/core.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ struct dev_dax *__dax_pmem_probe(struct device *dev, enum dev_dax_subsys subsys)
3737
devm_nsio_disable(dev, nsio);
3838

3939
/* reserve the metadata area, device-dax will reserve the data */
40-
pfn_sb = nd_pfn->pfn_sb;
40+
pfn_sb = nd_pfn->pfn_sb;
4141
offset = le64_to_cpu(pfn_sb->dataoff);
4242
if (!devm_request_mem_region(dev, nsio->res.start, offset,
4343
dev_name(&ndns->dev))) {
44-
dev_warn(dev, "could not reserve metadata\n");
44+
dev_warn(dev, "could not reserve metadata\n");
4545
return ERR_PTR(-EBUSY);
46-
}
46+
}
4747

4848
rc = sscanf(dev_name(&ndns->dev), "namespace%d.%d", &region_id, &id);
4949
if (rc != 2)

0 commit comments

Comments
 (0)