linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: manual merge of the nand tree with the drivers-memory tree
@ 2021-12-22 23:47 Stephen Rothwell
  2021-12-23 21:17 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2021-12-22 23:47 UTC (permalink / raw)
  To: Miquel Raynal, Boris Brezillon, Krzysztof Kozlowski
  Cc: Krzysztof Kozlowski, Linux Kernel Mailing List,
	Linux Next Mailing List, Roger Quadros

[-- Attachment #1: Type: text/plain, Size: 1633 bytes --]

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 <sfr@canb.auug.org.au>
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"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 include/linux/platform_data/mtd-nand-omap2.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/platform_data/mtd-nand-omap2.h b/include/linux/platform_data/mtd-nand-omap2.h
index 92f011805ad4..8c2f1f185353 100644
--- a/include/linux/platform_data/mtd-nand-omap2.h
+++ b/include/linux/platform_data/mtd-nand-omap2.h
@@ -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", },
 	{},
 };
 
-- 
2.33.0

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: linux-next: manual merge of the nand tree with the drivers-memory tree
  2021-12-22 23:47 linux-next: manual merge of the nand tree with the drivers-memory tree Stephen Rothwell
@ 2021-12-23 21:17 ` Krzysztof Kozlowski
  2021-12-23 21:55   ` Roger Quadros
  0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2021-12-23 21:17 UTC (permalink / raw)
  To: Stephen Rothwell, Miquel Raynal, Boris Brezillon, Roger Quadros
  Cc: Krzysztof Kozlowski, Linux Kernel Mailing List, Linux Next Mailing List

On 23/12/2021 00:47, Stephen Rothwell wrote:
> 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.
> 

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux-next: manual merge of the nand tree with the drivers-memory tree
  2021-12-23 21:17 ` Krzysztof Kozlowski
@ 2021-12-23 21:55   ` Roger Quadros
  0 siblings, 0 replies; 3+ messages in thread
From: Roger Quadros @ 2021-12-23 21:55 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Stephen Rothwell, Miquel Raynal, Boris Brezillon
  Cc: Linux Kernel Mailing List, Linux Next Mailing List



On 23/12/2021 23:17, Krzysztof Kozlowski wrote:
> On 23/12/2021 00:47, Stephen Rothwell wrote:
>> 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.
>>
> 
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-12-23 21:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-22 23:47 linux-next: manual merge of the nand tree with the drivers-memory tree Stephen Rothwell
2021-12-23 21:17 ` Krzysztof Kozlowski
2021-12-23 21:55   ` Roger Quadros

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).