Re: [ 06/59] Fix non TBI PHY access; a bad merge undid bug fix in aprevious commit.

From: Ben Hutchings
Date: Thu Apr 12 2012 - 11:02:18 EST


On Thu, 2012-04-12 at 09:02 +0200, Kenth Eriksson wrote:
> Ben Hutchings <ben@xxxxxxxxxxxxxxx> wrote on 2012/04/12 06:55:06:
>
> > From: Ben Hutchings <ben@xxxxxxxxxxxxxxx>
> > To: Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>
> > Cc: linux-kernel@xxxxxxxxxxxxxxx, stable@xxxxxxxxxxxxxxx,
> torvalds@linux-
> > foundation.org, akpm@xxxxxxxxxxxxxxxxxxxx, alan@xxxxxxxxxxxxxxxxxxx,
> Kenth
> > Eriksson <kenth.eriksson@xxxxxxxxxxxxx>, "David S. Miller"
> <davem@xxxxxxxxxxxxx>
> > Date: 2012/04/12 06:55
> > Subject: Re: [ 06/59] Fix non TBI PHY access; a bad merge undid bug
> fix in a
> > previous commit.
> >
> > On Wed, 2012-04-11 at 16:10 -0700, Greg KH wrote:
> > > 3.2-stable review patch. If anyone has any objections, please let
> me know.
> > >
> > > ------------------
> > >
> > >
> > > From: Kenth Eriksson <kenth.eriksson@xxxxxxxxxxxxx>
> > >
> > > [ Upstream commit 464b57da56910c8737ede75ad820b9a7afc46b3e ]
> > >
> > > The merge done in commit b26e478f undid bug fix in commit c3e072f8
> > > ("net: fsl_pq_mdio: fix non tbi phy access"), with the result that
> non
> > > TBI (e.g. MDIO) PHYs cannot be accessed.
> > [...]
> >
> > This doesn't look relevant to 3.2.
> >
> > $ git describe --contains b26e478f
> > v3.3-rc1~182^2~207
> > $ git describe --contains c3e072f8
> > v3.3-rc1~182^2~598
> > $ git show c3e072f8 | head -8
> > commit c3e072f8a6c5625028531c40ec65f7e301531be2
> > Author: Baruch Siach <baruch@xxxxxxxxxx>
> > Date: Mon Nov 14 08:21:30 2011 +0200
> >
> > net: fsl_pq_mdio: fix non tbi phy access
> >
> > Since 952c5ca1 (fsl_pq_mdio: Clean up tbi address
> configuration) .probe returns
> > -EBUSY when the "tbi-phy" node is missing. Fix this.
> > $ git describe --contains 952c5ca1
> > v3.3-rc1~182^2~603
> > $ git rev-list v3.2..v3.2.14
> drivers/net/ethernet/freescale/fsl_pq_mdio.c
> > $
> >
>
> The error is present in 3.2 as well, but the patch may not apply. 3.3
> contains both a fix for the error:
>
> http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commit;h=c3e072f8a6c5625028531c40ec65f7e301531be2
>
> and a bad merge.

So it wasn't actually introduced by 952c5ca1?

Ben.

--
Ben Hutchings
It is easier to change the specification to fit the program than vice versa.

Attachment: signature.asc
Description: This is a digitally signed message part