[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170208144029.GE10855@lunn.ch>
Date: Wed, 8 Feb 2017 15:40:29 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Fabio Estevam <festevam@...il.com>
Cc: Florian Fainelli <f.fainelli@...il.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: Kernel crashes in phy_attach_direct()
> Yes, after reverting this commit I no longer get the kernel crash.
And i guess you don't have a specific PHY driver for you PHYs. You are
using the generic PHY driver?
Could you try modifying phy_attach_direct() such that the
try_module_get() is after:
/* Assume that if there is no driver, that it doesn't
* exist, and we should use the genphy driver.
*/
if (!d->driver) {
<snip>
}
Thanks
Andrew
Powered by blists - more mailing lists