diff mbox series

dax/pmem: Fix whitespace in dax_pmem

Message ID 20190318225337.2648-1-vishal.l.verma@intel.com (mailing list archive)
State Mainlined
Commit d521fbaeda726ef3a9dad91c0239e7207d9864b7
Headers show
Series dax/pmem: Fix whitespace in dax_pmem | expand

Commit Message

Verma, Vishal L March 18, 2019, 10:53 p.m. UTC
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>
---
 drivers/dax/pmem/core.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Dan Williams March 18, 2019, 10:56 p.m. UTC | #1
On Mon, Mar 18, 2019 at 3:54 PM Vishal Verma <vishal.l.verma@intel.com> wrote:
>
> 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>
> ---
>  drivers/dax/pmem/core.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/dax/pmem/core.c b/drivers/dax/pmem/core.c
> index f71019ce0647..f9f51786d556 100644
> --- a/drivers/dax/pmem/core.c
> +++ b/drivers/dax/pmem/core.c
> @@ -37,13 +37,13 @@ struct dev_dax *__dax_pmem_probe(struct device *dev, enum dev_dax_subsys subsys)
>         devm_nsio_disable(dev, nsio);
>
>         /* reserve the metadata area, device-dax will reserve the data */
> -        pfn_sb = nd_pfn->pfn_sb;
> +       pfn_sb = nd_pfn->pfn_sb;
>         offset = le64_to_cpu(pfn_sb->dataoff);
>         if (!devm_request_mem_region(dev, nsio->res.start, offset,
>                                 dev_name(&ndns->dev))) {
> -                dev_warn(dev, "could not reserve metadata\n");
> +               dev_warn(dev, "could not reserve metadata\n");
>                 return ERR_PTR(-EBUSY);
> -        }
> +       }

Looks good to me, literally, no chance of regression :).
diff mbox series

Patch

diff --git a/drivers/dax/pmem/core.c b/drivers/dax/pmem/core.c
index f71019ce0647..f9f51786d556 100644
--- a/drivers/dax/pmem/core.c
+++ b/drivers/dax/pmem/core.c
@@ -37,13 +37,13 @@  struct dev_dax *__dax_pmem_probe(struct device *dev, enum dev_dax_subsys subsys)
 	devm_nsio_disable(dev, nsio);
 
 	/* reserve the metadata area, device-dax will reserve the data */
-        pfn_sb = nd_pfn->pfn_sb;
+	pfn_sb = nd_pfn->pfn_sb;
 	offset = le64_to_cpu(pfn_sb->dataoff);
 	if (!devm_request_mem_region(dev, nsio->res.start, offset,
 				dev_name(&ndns->dev))) {
-                dev_warn(dev, "could not reserve metadata\n");
+		dev_warn(dev, "could not reserve metadata\n");
 		return ERR_PTR(-EBUSY);
-        }
+	}
 
 	rc = sscanf(dev_name(&ndns->dev), "namespace%d.%d", &region_id, &id);
 	if (rc != 2)