[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230821025020.1971520-1-ruanjinjie@huawei.com>
Date: Mon, 21 Aug 2023 10:50:17 +0800
From: Jinjie Ruan <ruanjinjie@...wei.com>
To: <rafal@...ecki.pl>, <bcm-kernel-feedback-list@...adcom.com>,
<davem@...emloft.net>, <edumazet@...gle.com>, <kuba@...nel.org>,
<pabeni@...hat.com>, <opendmb@...il.com>, <florian.fainelli@...adcom.com>,
<bryan.whitehead@...rochip.com>, <UNGLinuxDriver@...rochip.com>,
<netdev@...r.kernel.org>, <andrew@...n.ch>
CC: <ruanjinjie@...wei.com>
Subject: [PATCH net-next v4 0/3] net: Return PTR_ERR() for fixed_phy_register()
fixed_phy_register() returns not only -EIO or -ENODEV, but also
-EPROBE_DEFER, -EINVAL and -EBUSY. The Best practice is to return these
error codes with PTR_ERR().
Changes in v4:
- Keep the code context consistent with another patch set.
- Update to bring the author's name before.
Jinjie Ruan (3):
net: bgmac: Return PTR_ERR() for fixed_phy_register()
net: bcmgenet: Return PTR_ERR() for fixed_phy_register()
net: lan743x: Return PTR_ERR() for fixed_phy_register()
drivers/net/ethernet/broadcom/bgmac.c | 2 +-
drivers/net/ethernet/broadcom/genet/bcmmii.c | 2 +-
drivers/net/ethernet/microchip/lan743x_main.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
--
2.34.1
Powered by blists - more mailing lists