diff mbox series

[-next] dax: pmem: convert comma to semicolon

Message ID 20201214134506.4831-1-zhengyongjun3@huawei.com (mailing list archive)
State Accepted
Commit 4e6a7b3bbd5a6f9e6f0c5c3ad976ed116c7ade79
Headers show
Series [-next] dax: pmem: convert comma to semicolon | expand

Commit Message

Zheng Yongjun Dec. 14, 2020, 1:45 p.m. UTC
Replace a comma between expression statements by a semicolon.

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
---
 drivers/dax/pmem/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Dan Williams Dec. 16, 2020, 6 a.m. UTC | #1
On Mon, Dec 14, 2020 at 5:45 AM Zheng Yongjun <zhengyongjun3@huawei.com> wrote:
>
> Replace a comma between expression statements by a semicolon.
>
> Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>

Thanks, applied.
diff mbox series

Patch

diff --git a/drivers/dax/pmem/core.c b/drivers/dax/pmem/core.c
index 62b26bfceab1..062e8bc14223 100644
--- a/drivers/dax/pmem/core.c
+++ b/drivers/dax/pmem/core.c
@@ -52,7 +52,7 @@  struct dev_dax *__dax_pmem_probe(struct device *dev, enum dev_dax_subsys subsys)
 
 	/* adjust the dax_region range to the start of data */
 	range = pgmap.range;
-	range.start += offset,
+	range.start += offset;
 	dax_region = alloc_dax_region(dev, region_id, &range,
 			nd_region->target_node, le32_to_cpu(pfn_sb->align),
 			IORESOURCE_DAX_STATIC);