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.schucha...@canonical.com>
> Reviewed-by: Marek BehĂșn <ka...@kernel.org>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to