[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160711171143.GB8540@lunn.ch>
Date: Mon, 11 Jul 2016 19:11:43 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Florian Fainelli <f.fainelli@...il.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, jcmvbkbc@...il.com,
colin.king@...onical.com, tklauser@...tanz.ch,
thierry.reding@...il.com
Subject: Re: [PATCH net 1/2] net: ethoc: Fix early error paths
On Mon, Jul 11, 2016 at 10:04:10AM -0700, Florian Fainelli wrote:
> In case any operation fails before we can successfully go the point
> where we would register a MDIO bus, we would be going to an error label
> which involves unregistering then freeing this yet to be created MDIO
> bus. Update all error paths to go to label free which is the only one
> valid until either the clock is enabled, or the MDIO bus is allocated
> and registered. This fixes kernel panics such as this one:
>
> Fixes: a1702857724f ("net: Add support for the OpenCores 10/100 Mbps Ethernet MAC.")
Hi Florian
Did you intend to paste a panic here?
Andrew
Powered by blists - more mailing lists