Skip to contentSkip to conversation

linux-next: manual merge of the spi tree with the i2c tree

DISCUSSION Stephen Rothwell 4 participants 7 messages Feb 16, 2023 – Feb 23, 2023 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

MAINTAINERS

between commit:

b3de755d6041 ("dt-bindings: i2c: i2c-st: convert to DT schema")

from the i2c tree and commit:

7ec844a2c753 ("spi: spi-st-ssc: convert to DT schema")

from the spi 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.

Signature · 17 lines
Cheers,
Stephen Rothwell

diff --cc MAINTAINERS
index 71e92d3c51c6,daa33e7bb457..000000000000
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@@ -2791,7 -2925,8 +2791,8 @@@ M:	Patrice Chotard <patrice.chotard@fos
  L:	[email protected] (moderated for non-subscribers)
  S:	Maintained
  W:	http://www.stlinux.com
+ F:	Documentation/devicetree/bindings/spi/st,ssc-spi.yaml
 -F:	Documentation/devicetree/bindings/i2c/i2c-st.txt
 +F:	Documentation/devicetree/bindings/i2c/st,sti-i2c.yaml
  F:	arch/arm/boot/dts/sti*
  F:	arch/arm/mach-sti/
  F:	drivers/ata/ahci_st.c
#1 lore raw

Hi,

sorry for the mistake. I should have made a serie with those 2 patches in order to avoid this conflict. Sorry about that. I know now for a next case.

Cheers
Alain

Quoted 41 lines · Stephen Rothwell

Hi all,

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

MAINTAINERS

between commit:

b3de755d6041 ("dt-bindings: i2c: i2c-st: convert to DT schema")

from the i2c tree and commit:

7ec844a2c753 ("spi: spi-st-ssc: convert to DT schema")

from the spi 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.

Signature · 2 lines
Cheers,
Stephen Rothwell
MAINTAINERS +1 -0
diff --cc MAINTAINERS
index 71e92d3c51c6,daa33e7bb457..000000000000
@@@ -2791,7 -2925,8 +2791,8 @@@ M:	Patrice Chotard <patrice.chotard@fos
  L:	[email protected] (moderated for non-subscribers)
  S:	Maintained
  W:	http://www.stlinux.com
+ F:	Documentation/devicetree/bindings/spi/st,ssc-spi.yaml
 -F:	Documentation/devicetree/bindings/i2c/i2c-st.txt
 +F:	Documentation/devicetree/bindings/i2c/st,sti-i2c.yaml
  F:	arch/arm/boot/dts/sti*
  F:	arch/arm/mach-sti/
  F:	drivers/ata/ahci_st.c
maintainer
#2 lore raw
Quoted 5 lines · Alain Volmat

Hi,

sorry for the mistake. I should have made a serie with those 2 patches in order to avoid this conflict. Sorry about that. I know now for a next case.

This sort of trivial add/add change is generally not a problem, it's just good for the people sending the trees to be aware.

#3 lore raw
In reply to Stephen Rothwell

Hi Stephen,

Quoted 30 lines · Stephen Rothwell

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

MAINTAINERS

between commit:

b3de755d6041 ("dt-bindings: i2c: i2c-st: convert to DT schema")

from the i2c tree and commit:

7ec844a2c753 ("spi: spi-st-ssc: convert to DT schema")

from the spi 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.

--
Cheers,
Stephen Rothwell

MAINTAINERS +0 -0
diff --cc MAINTAINERS
index 71e92d3c51c6,daa33e7bb457..000000000000

MAINTAINERS

Quoted 9 lines
MAINTAINERS +1 -0
@@@ -2791,7 -2925,8 +2791,8 @@@ M:      Patrice Chotard <patrice.chotard@fos
  L:    [email protected] (moderated for non-subscribers)
  S:    Maintained
  W:    http://www.stlinux.com
+ F:    Documentation/devicetree/bindings/spi/st,ssc-spi.yaml
 -F:    Documentation/devicetree/bindings/i2c/i2c-st.txt
 +F:    Documentation/devicetree/bindings/i2c/st,sti-i2c.yaml
  F:    arch/arm/boot/dts/sti*
  F:    arch/arm/mach-sti/
  F:    drivers/ata/ahci_st.c

Thanks, but please preserve sort order.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
#4 lore raw

Hi Mark, Wolfram,

should I update something to avoid this conflict before you push the pull request for v6.3 ?

Cheers,
Alain

Quoted 55 lines · Geert Uytterhoeven

Hi Stephen,

Quoted 30 lines · Stephen Rothwell

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

MAINTAINERS

between commit:

b3de755d6041 ("dt-bindings: i2c: i2c-st: convert to DT schema")

from the i2c tree and commit:

7ec844a2c753 ("spi: spi-st-ssc: convert to DT schema")

from the spi 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.

--
Cheers,
Stephen Rothwell

MAINTAINERS +0 -0
diff --cc MAINTAINERS
index 71e92d3c51c6,daa33e7bb457..000000000000

MAINTAINERS

Quoted 9 lines
MAINTAINERS +1 -0
@@@ -2791,7 -2925,8 +2791,8 @@@ M:      Patrice Chotard <patrice.chotard@fos
  L:    [email protected] (moderated for non-subscribers)
  S:    Maintained
  W:    http://www.stlinux.com
+ F:    Documentation/devicetree/bindings/spi/st,ssc-spi.yaml
 -F:    Documentation/devicetree/bindings/i2c/i2c-st.txt
 +F:    Documentation/devicetree/bindings/i2c/st,sti-i2c.yaml
  F:    arch/arm/boot/dts/sti*
  F:    arch/arm/mach-sti/
  F:    drivers/ata/ahci_st.c

Thanks, but please preserve sort order.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
maintainer
#5 lore raw
Quoted 2 lines · Alain Volmat

should I update something to avoid this conflict before you push the pull request for v6.3 ?

No, it's fine.

Please don't top post, reply in line with needed context. This allows readers to readily follow the flow of conversation and understand what you are talking about and also helps ensure that everything in the discussion is being addressed.

#6 lore raw
In reply to Stephen Rothwell

Hi all,

Quoted 28 lines · On Thu, 16 Feb 2023 11:30:35 +1100 Stephen Rothwell <[email protected]>…

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

MAINTAINERS

between commit:

b3de755d6041 ("dt-bindings: i2c: i2c-st: convert to DT schema")

from the i2c tree and commit:

7ec844a2c753 ("spi: spi-st-ssc: convert to DT schema")

from the spi 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.

MAINTAINERS +0 -0
diff --cc MAINTAINERS
index 71e92d3c51c6,daa33e7bb457..000000000000

MAINTAINERS

Quoted 9 lines
MAINTAINERS +1 -0
@@@ -2791,7 -2925,8 +2791,8 @@@ M:	Patrice Chotard <patrice.chotard@fos
  L:	[email protected] (moderated for non-subscribers)
  S:	Maintained
  W:	http://www.stlinux.com
+ F:	Documentation/devicetree/bindings/spi/st,ssc-spi.yaml
 -F:	Documentation/devicetree/bindings/i2c/i2c-st.txt
 +F:	Documentation/devicetree/bindings/i2c/st,sti-i2c.yaml
  F:	arch/arm/boot/dts/sti*
  F:	arch/arm/mach-sti/
  F:	drivers/ata/ahci_st.c

This is now a conflict between the i2c tree and Linus' tree.

Signature · 2 lines
Cheers,
Stephen Rothwell