[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160730.231522.2076324866096732670.davem@davemloft.net>
Date: Sat, 30 Jul 2016 23:15:22 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: f.fainelli@...il.com
Cc: netdev@...r.kernel.org, andrew@...n.ch,
vivien.didelot@...oirfairelinux.com
Subject: Re: [PATCH] net: dsa: bcm_sf2: Unwind errors in correct order
From: Florian Fainelli <f.fainelli@...il.com>
Date: Fri, 29 Jul 2016 12:35:57 -0700
> In case we cannot complete bcm_sf2_sw_setup() for any reason, and we
> go to the out_unmap label, but the MDIO bus has not been registered yet,
> we will hit the BUG condition in drivers/net/phy/mdio_bus.c about the
> bus not being registered. Fix this by dedicating a specific lable for
> when we fail after the MDIO bus has been successfully registered.
>
> Fixes: 461cd1b03e32 ("net: dsa: bcm_sf2: Register our slave MDIO bus")
> Signed-off-by: Florian Fainelli <f.fainelli@...il.com>
Applied, thanks Florian.
Powered by blists - more mailing lists