linux-next: manual merge of the nvdimm tree with the libnvdimm-fixes tree
Subsystems (2)
Mark Brown
maintainerHi 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.
drivers/nvdimm/pfn_devs.c +0 -0
@@@ -724,9 -786,10 +788,11 @@@ static int nd_pfn_init(struct nd_pfn *nmemcpy (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);
Quoted 30 lines · Mark Brown
Hi all,
Today's linux-next merge of the nvdimm tree got a conflict in:
drivers/nvdimm/pfn_devs.cbetween 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.
drivers/nvdimm/pfn_devs.c +0
-0@@@ -724,9 -786,10 +788,11 @@@ static int nd_pfn_init(struct nd_pfn *nmemcpy (pfn_sb->uuid, nd_pfn->uuid,16 );
drivers/nvdimm/pfn_devs.c
Quoted 10 lines
drivers/nvdimm/pfn_devs.c +3
-1memcpy (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);
Yes, looks correct. Apologies for not highlighting this conflict in advance.