[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190919150147.GO3642@sirena.co.uk>
Date: Thu, 19 Sep 2019 16:01:47 +0100
From: Mark Brown <broonie@...nel.org>
To: Dan Williams <dan.j.williams@...el.com>,
"Aneesh Kumar K.V" <aneesh.kumar@...ux.ibm.com>,
Yi Zhang <yi.zhang@...hat.com>, Jeff Moyer <jmoyer@...hat.com>
Cc: Linux Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: linux-next: manual merge of the nvdimm tree with the libnvdimm-fixes
tree
Hi all,
Today's linux-next merge of the nvdimm tree got a conflict in:
drivers/nvdimm/pfn_devs.c
between commit:
274b924088e935 ("libnvdimm/pfn: Fix namespace creation on misaligned addresses")
from the libnvdimm-fixes tree and commit:
edbb52c24441ab ("libnvdimm/pfn_dev: Add page size and struct page size to pfn superblock")
from the nvdimm tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
diff --cc drivers/nvdimm/pfn_devs.c
index cb98b8fe786e2,80c7992bc5389..0000000000000
--- a/drivers/nvdimm/pfn_devs.c
+++ b/drivers/nvdimm/pfn_devs.c
@@@ -724,9 -786,10 +788,11 @@@ static int nd_pfn_init(struct nd_pfn *n
memcpy(pfn_sb->uuid, nd_pfn->uuid, 16);
memcpy(pfn_sb->parent_uuid, nd_dev_to_uuid(&ndns->dev), 16);
pfn_sb->version_major = cpu_to_le16(1);
- pfn_sb->version_minor = cpu_to_le16(3);
+ pfn_sb->version_minor = cpu_to_le16(4);
+ pfn_sb->end_trunc = cpu_to_le32(end_trunc);
pfn_sb->align = cpu_to_le32(nd_pfn->align);
+ pfn_sb->page_struct_size = cpu_to_le16(MAX_STRUCT_PAGE_SIZE);
+ pfn_sb->page_size = cpu_to_le32(PAGE_SIZE);
checksum = nd_sb_checksum((struct nd_gen_sb *) pfn_sb);
pfn_sb->checksum = cpu_to_le64(checksum);
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists