Skip to contentSkip to conversation

linux-next: manual merge of the nand tree with the drivers-memory tree

PATCH Stephen Rothwell 3 participants 3 messages Dec 22, 2021 – Dec 23, 2021 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

Today's linux-next merge of the nand tree got a conflict in:

drivers/mtd/nand/raw/omap2.c

between commit:

f2f8115fe8b3 ("memory: omap-gpmc: Use a compatible match table when checking for NAND controller")

from the drivers-memory tree and commit:

0137c74ad873 ("mtd: rawnand: omap2: Add compatible for AM64 SoC")

from the nand tree.

I fixed it up (I used the former version and added the following patch) 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.

From: Stephen Rothwell <[email protected]>
Date: Thu, 23 Dec 2021 10:41:35 +1100
Subject: [PATCH] fixup for "memory: omap-gpmc: Use a compatible match table when checking for NAND controller"

---
 include/linux/platform_data/mtd-nand-omap2.h | 1 +
 1 file changed, 1 insertion(+)
include/linux/platform_data/mtd-nand-omap2.h +1 -0
index 92f011805ad4..8c2f1f185353 100644
@@ -65,6 +65,7 @@ struct gpmc_nand_regs {
 
 static const struct of_device_id omap_nand_ids[] = {
 	{ .compatible = "ti,omap2-nand", },
+	{ .compatible = "ti,am64-nand", },
 	{},
 };
 
Signature · 5 lines
2.33.0

-- 
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 14 lines · Stephen Rothwell

Hi all,

Today's linux-next merge of the nand tree got a conflict in:

drivers/mtd/nand/raw/omap2.c

between commit:

f2f8115fe8b3 ("memory: omap-gpmc: Use a compatible match table when checking for NAND controller")

from the drivers-memory tree and commit:

0137c74ad873 ("mtd: rawnand: omap2: Add compatible for AM64 SoC")

Quoted 9 lines

from the nand tree.

I fixed it up (I used the former version and added the following patch) 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.

Thanks Stephen, the fix looks correct.

Roger,
It seems you sent two separate patches touching exactly the same files recently for two different trees. One for memory controllers moving the NAND ids and second for MTD tree with adding new compatible. Please don't, instead second should base on the other and these should go via one tree. This is a non-trivial conflict which could be avoided.

Best regards,
Krzysztof

#2 lore raw
Quoted 25 lines · Krzysztof Kozlowski
Quoted 14 lines · Stephen Rothwell

Hi all,

Today's linux-next merge of the nand tree got a conflict in:

drivers/mtd/nand/raw/omap2.c

between commit:

f2f8115fe8b3 ("memory: omap-gpmc: Use a compatible match table when checking for NAND controller")

from the drivers-memory tree and commit:

0137c74ad873 ("mtd: rawnand: omap2: Add compatible for AM64 SoC")

Quoted 9 lines

from the nand tree.

I fixed it up (I used the former version and added the following patch) 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.

Quoted 8 lines

Thanks Stephen, the fix looks correct.

Roger,
It seems you sent two separate patches touching exactly the same files recently for two different trees. One for memory controllers moving the NAND ids and second for MTD tree with adding new compatible. Please don't, instead second should base on the other and these should go via one tree. This is a non-trivial conflict which could be avoided.

Thanks Stephen and Krzysztof.

Sorry for the trouble. I will be more careful next time.

cheers,
-roger