linux-next: manual merge of the mtd tree with the mtd-fixes tree
Subsystems (2)
Hi all,
Today's linux-next merge of the mtd tree got a conflict in:
drivers/mtd/mtdcore.c
between commit:
12b58961de0b ("mtd: core: add missing of_node_get() in dynamic partitions code")
from the mtd-fixes tree and commit:
63db0cb35e1c ("mtd: core: simplify (a bit) code find partition-matching dynamic OF node")
from the mtd tree.
I fixed it up (I just used the latter version) 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.
Signature · 2 lines
Cheers, Stephen Rothwell
Hi,
Quoted 14 lines · Stephen Rothwell
Today's linux-next merge of the mtd tree got a conflict in:
drivers/mtd/mtdcore.cbetween commit:
12b58961de0b("mtd: core: add missingof_node_get()in dynamic
partitions code")from the mtd-fixes tree and commit:
63db0cb35e1c("mtd: core: simplify (a bit) code find
partition-matching dynamic OF node")
Quoted 8 lines
from the mtd tree.
I fixed it up (I just used the latter version) 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.
this isn't exactly the correct fix, of_node_get() is still needed.
I'll make sure we let Linus know about this conflict (and solution) when sending 6.2 pull request.
drivers/mtd/mtdcore.c +1 -1
@@ -559,7 +559,7 @@ static void mtd_check_of_node(struct mtd_info *mtd)if (!mtd_is_partition (mtd))return ; - parent_dn =mtd_get_of_node (mtd->parent); + parent_dn =of_node_get (mtd_get_of_node (mtd->parent));if (!parent_dn)return ;
Hi Rafał,
Quoted 12 lines · On Wed, 19 Oct 2022 07:31:57 +0200 Rafał Miłecki <[email protected]> wrote:
this isn't exactly the correct fix,
of_node_get()is still needed.I'll make sure we let Linus know about this conflict (and solution) when sending 6.2 pull request.
drivers/mtd/mtdcore.c +0
-0
drivers/mtd/mtdcore.c static void mtd_check_of_node(struct mtd_info *mtd) · line 565
Quoted 8 lines
drivers/mtd/mtdcore.c +1
-1@@ -559,7 +559,7 @@ static void mtd_check_of_node(struct mtd_info *mtd)if (!mtd_is_partition (mtd))return ; - parent_dn =mtd_get_of_node (mtd->parent); + parent_dn =of_node_get (mtd_get_of_node (mtd->parent));if (!parent_dn)return ;
Thanks for checking. I have added that to my resolution for tomorrow onward.
Signature · 2 lines
Cheers, Stephen Rothwell
Miquel Raynal
maintainerHi,
[email protected] wrote on Wed, 19 Oct 2022 18:08:07 +1100:
Quoted 18 lines
Hi Rafał,
Quoted 15 lines · On Wed, 19 Oct 2022 07:31:57 +0200 Rafał Miłecki <[email protected]> wrote:
this isn't exactly the correct fix,
of_node_get()is still needed.I'll make sure we let Linus know about this conflict (and solution) when sending 6.2 pull request.
drivers/mtd/mtdcore.c +0
-0@@ -559,7 +559,7 @@ static void mtd_check_of_node(struct mtd_info *mtd)if (!mtd_is_partition (mtd))return ;
Quoted 9 lines
drivers/mtd/mtdcore.c static void mtd_check_of_node(struct mtd_info *mtd) · line 565
Quoted 5 lines
drivers/mtd/mtdcore.c +1
-1- parent_dn =mtd_get_of_node (mtd->parent); + parent_dn =of_node_get (mtd_get_of_node (mtd->parent));if (!parent_dn)return ;Thanks for checking. I have added that to my resolution for tomorrow onward.
Thanks Rafał for the right resolution and Stephen for carrying the fix. I'll send the fixes PR soon and rebase on top of an -rc containing it to avoid this conflict resolution to be needed when sending the final PR to Linus during the next MW.
Thanks,
Miquèl
Hi Miquel,
Quoted 5 lines · On Wed, 19 Oct 2022 15:49:07 +0200 Miquel Raynal <[email protected]>…
Thanks Rafał for the right resolution and Stephen for carrying the fix. I'll send the fixes PR soon and rebase on top of an -rc containing it to avoid this conflict resolution to be needed when sending the final PR to Linus during the next MW.
Why not just merge your mtd/fixes branch into your mtd/branch (rather than rebasing)?
Signature · 2 lines
Cheers, Stephen Rothwell
Miquel Raynal
maintainerHi Stephen,
[email protected] wrote on Thu, 20 Oct 2022 01:06:47 +1100:
Quoted 4 lines
Hi Miquel,
Quoted 1 line · On Wed, 19 Oct 2022 15:49:07 +0200 Miquel Raynal <[email protected]>…
Quoted 8 lines
Quoted 4 lines
Thanks Rafał for the right resolution and Stephen for carrying the fix. I'll send the fixes PR soon and rebase on top of an -rc containing it to avoid this conflict resolution to be needed when sending the final PR to Linus during the next MW.
Why not just merge your mtd/fixes branch into your mtd/branch (rather than rebasing)?
Yes, actually I usually wait for the next -rc and merge Linus' tag.
Thanks,
Miquèl