[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160128.160824.1353384794421241954.davem@davemloft.net>
Date: Thu, 28 Jan 2016 16:08:24 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: andrew@...n.ch
Cc: netdev@...r.kernel.org, f.fainelli@...il.com,
aaro.koskinen@...ia.com, olof@...om.net
Subject: Re: [PATCH net] of: of_mdio: Ensure mdio device is a PHY
From: Andrew Lunn <andrew@...n.ch>
Date: Tue, 26 Jan 2016 15:12:30 +0100
> of_phy_find_device() is used to find the phy device associated with a
> device node. It is expected the node is for a PHY device, but in fact
> it could of been probed as a generic MDIO device. Ensure the device is
> a PHY before returning it.
>
> Fixes: a9049e0c513c ("mdio: Add support for mdio drivers.")
> Reported-by: Aaro Koskinen <aaro.koskinen@...ia.com>
> Reported-by: Olof Johansson <olof@...om.net>
> Signed-off-by: Andrew Lunn <andrew@...n.ch>
Applied.
Powered by blists - more mailing lists