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

Stephen Rothwell posted 1 patch 2 years, 6 months ago
linux-next: manual merge of the spi tree with the i2c tree
Posted by Stephen Rothwell 2 years, 6 months ago
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.

-- 
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:	linux-arm-kernel@lists.infradead.org (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
Re: linux-next: manual merge of the spi tree with the i2c tree
Posted by Stephen Rothwell 2 years, 6 months ago
Hi all,

On Thu, 16 Feb 2023 11:30:35 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> 
> 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.
> 
> 
> diff --cc MAINTAINERS
> index 71e92d3c51c6,daa33e7bb457..000000000000
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@@ -2791,7 -2925,8 +2791,8 @@@ M:	Patrice Chotard <patrice.chotard@fos
>   L:	linux-arm-kernel@lists.infradead.org (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.

-- 
Cheers,
Stephen Rothwell
Re: linux-next: manual merge of the spi tree with the i2c tree
Posted by Geert Uytterhoeven 2 years, 6 months ago
Hi Stephen,

On Thu, Feb 16, 2023 at 1:37 AM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> 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
>
> diff --cc MAINTAINERS
> index 71e92d3c51c6,daa33e7bb457..000000000000
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@@ -2791,7 -2925,8 +2791,8 @@@ M:      Patrice Chotard <patrice.chotard@fos
>   L:    linux-arm-kernel@lists.infradead.org (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

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

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
Re: linux-next: manual merge of the spi tree with the i2c tree
Posted by Alain Volmat 2 years, 6 months ago
Hi Mark, Wolfram,

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

Cheers,
Alain


On Tue, Feb 21, 2023 at 10:11:03AM +0100, Geert Uytterhoeven wrote:
> Hi Stephen,
> 
> On Thu, Feb 16, 2023 at 1:37 AM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> > 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
> >
> > diff --cc MAINTAINERS
> > index 71e92d3c51c6,daa33e7bb457..000000000000
> > --- a/MAINTAINERS
> > +++ b/MAINTAINERS
> > @@@ -2791,7 -2925,8 +2791,8 @@@ M:      Patrice Chotard <patrice.chotard@fos
> >   L:    linux-arm-kernel@lists.infradead.org (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
> 
> -- 
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
> 
> 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
Re: linux-next: manual merge of the spi tree with the i2c tree
Posted by Mark Brown 2 years, 6 months ago
On Tue, Feb 21, 2023 at 05:57:41PM +0100, Alain Volmat wrote:

> 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.
Re: linux-next: manual merge of the spi tree with the i2c tree
Posted by Alain Volmat 2 years, 6 months ago
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

On Thu, Feb 16, 2023 at 11:30:35AM +1100, Stephen Rothwell wrote:
> 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.
> 
> -- 
> 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:	linux-arm-kernel@lists.infradead.org (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
Re: linux-next: manual merge of the spi tree with the i2c tree
Posted by Mark Brown 2 years, 6 months ago
On Thu, Feb 16, 2023 at 08:48:02PM +0100, Alain Volmat wrote:
> 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.