
8 Aug
2022
8 Aug
'22
9:08 p.m.
On Mon, Jul 11, 2022 at 07:40:13PM +0200, Heinrich Schuchardt wrote:
We check if phydev is NULL. Only but if it is non-NULL we set one component of phydev. But even if it is NULL we set another. We should not dereference NULL in either case.
Fixes: e24b58f5ed4f ("net: phy: don't require PHY interface mode during PHY creation") Signed-off-by: Heinrich Schuchardt heinrich.schuchardt@canonical.com Reviewed-by: Marek Behún kabel@kernel.org
Applied to u-boot/master, thanks!
--
Tom