Home
last modified time | relevance | path

Searched hist:d6499f0b7c7ce3d69f658331e78e520c7ebcb238 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dbgmac.cdiff d6499f0b7c7ce3d69f658331e78e520c7ebcb238 Fri Aug 18 02:07:05 CDT 2023 Ruan Jinjie <ruanjinjie@huawei.com> net: bgmac: Return PTR_ERR() for fixed_phy_register()

fixed_phy_register() returns -EPROBE_DEFER, -EINVAL and -EBUSY,
etc, in addition to -ENODEV. The best practice is to return
these error codes with PTR_ERR().

Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>