public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: orion: Fix DSA platform device after mvmdio conversion
       [not found] <144678925462178@kroah.com>
@ 2015-11-06 19:31 ` Florian Fainelli
  2015-11-06 19:37   ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Florian Fainelli @ 2015-11-06 19:31 UTC (permalink / raw)
  To: stable; +Cc: linux-kernel, gregkh, fvdw, gregory.clement, Florian Fainelli

DSA expects the mii_bus pointer to be the device structure associated
with the MDIO bus controller driver. First commit breaking that was
c3a07134e6aa ("mv643xx_eth: convert to use the Marvell Orion MDIO
driver"), and then, it got completely under the radar for a while.

Reported-by: Frans van de Wiel <fvdw@fvdw.eu>
Fixes: c3a07134e6aa ("mv643xx_eth: convert to use the Marvell Orion MDIO driver")
CC: stable@vger.kernel.org
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
Greg,

This is the patch for kernels 3.10 through 3.17, thanks!

 arch/arm/plat-orion/common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/plat-orion/common.c b/arch/arm/plat-orion/common.c
index 3ec6e8e8d368..3f02575e4cc8 100644
--- a/arch/arm/plat-orion/common.c
+++ b/arch/arm/plat-orion/common.c
@@ -499,7 +499,7 @@ void __init orion_ge00_switch_init(struct dsa_platform_data *d, int irq)
 
 	d->netdev = &orion_ge00.dev;
 	for (i = 0; i < d->nr_chips; i++)
-		d->chip[i].mii_bus = &orion_ge00_shared.dev;
+		d->chip[i].mii_bus = &orion_ge_mvmdio.dev;
 	orion_switch_device.dev.platform_data = d;
 
 	platform_device_register(&orion_switch_device);
-- 
2.1.0


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

* Re: [PATCH] ARM: orion: Fix DSA platform device after mvmdio conversion
  2015-11-06 19:31 ` [PATCH] ARM: orion: Fix DSA platform device after mvmdio conversion Florian Fainelli
@ 2015-11-06 19:37   ` Greg KH
  2015-11-06 21:18     ` Florian Fainelli
  0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2015-11-06 19:37 UTC (permalink / raw)
  To: Florian Fainelli; +Cc: stable, linux-kernel, fvdw, gregory.clement

On Fri, Nov 06, 2015 at 11:31:30AM -0800, Florian Fainelli wrote:
> DSA expects the mii_bus pointer to be the device structure associated
> with the MDIO bus controller driver. First commit breaking that was
> c3a07134e6aa ("mv643xx_eth: convert to use the Marvell Orion MDIO
> driver"), and then, it got completely under the radar for a while.
> 
> Reported-by: Frans van de Wiel <fvdw@fvdw.eu>
> Fixes: c3a07134e6aa ("mv643xx_eth: convert to use the Marvell Orion MDIO driver")
> CC: stable@vger.kernel.org
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> ---
> Greg,
> 
> This is the patch for kernels 3.10 through 3.17, thanks!

What is the git commit id of this in Linus's tree?

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

* Re: [PATCH] ARM: orion: Fix DSA platform device after mvmdio conversion
  2015-11-06 19:37   ` Greg KH
@ 2015-11-06 21:18     ` Florian Fainelli
  0 siblings, 0 replies; 3+ messages in thread
From: Florian Fainelli @ 2015-11-06 21:18 UTC (permalink / raw)
  To: Greg KH; +Cc: stable, linux-kernel, fvdw, gregory.clement

On 06/11/15 11:37, Greg KH wrote:
> On Fri, Nov 06, 2015 at 11:31:30AM -0800, Florian Fainelli wrote:
>> DSA expects the mii_bus pointer to be the device structure associated
>> with the MDIO bus controller driver. First commit breaking that was
>> c3a07134e6aa ("mv643xx_eth: convert to use the Marvell Orion MDIO
>> driver"), and then, it got completely under the radar for a while.
>>
>> Reported-by: Frans van de Wiel <fvdw@fvdw.eu>
>> Fixes: c3a07134e6aa ("mv643xx_eth: convert to use the Marvell Orion MDIO driver")
>> CC: stable@vger.kernel.org
>> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
>> ---
>> Greg,
>>
>> This is the patch for kernels 3.10 through 3.17, thanks!
> 
> What is the git commit id of this in Linus's tree?
>

Upstream commit is d836ace65ee98d7079bc3c5afdbcc0e27dca20a3 ("ARM:
orion: Fix DSA platform device after mvmdio conversion").
-- 
Florian

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

end of thread, other threads:[~2015-11-06 21:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <144678925462178@kroah.com>
2015-11-06 19:31 ` [PATCH] ARM: orion: Fix DSA platform device after mvmdio conversion Florian Fainelli
2015-11-06 19:37   ` Greg KH
2015-11-06 21:18     ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox