[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220915114214.3145427-1-yangyingliang@huawei.com>
Date: Thu, 15 Sep 2022 19:42:07 +0800
From: Yang Yingliang <yangyingliang@...wei.com>
To: <netdev@...r.kernel.org>
CC: <davem@...emloft.net>, <kuba@...nel.org>, <hauke@...ke-m.de>,
<andrew@...n.ch>, <peppe.cavallaro@...com>,
<alexandre.torgue@...s.st.com>
Subject: [PATCH -next 0/7] net: drivers: Switch to use dev_err_probe() helper
In the probe path, dev_err() can be replace with dev_err_probe()
which will check if error code is -EPROBE_DEFER. It will print
error code in a human readable way and simplify the code.
Yang Yingliang (7):
net: ethernet: ti: am65-cpts: Switch to use dev_err_probe() helper
net: ethernet: ti: cpsw: Switch to use dev_err_probe() helper
net: ethernet: ti: cpsw_new: Switch to use dev_err_probe() helper
net: dsa: lantiq: Switch to use dev_err_probe() helper
net: ibm: emac: Switch to use dev_err_probe() helper
net: stmmac: dwc-qos: Switch to use dev_err_probe() helper
net: ll_temac: Switch to use dev_err_probe() helper
drivers/net/dsa/lantiq_gswip.c | 8 +++-----
drivers/net/ethernet/ibm/emac/core.c | 8 +++-----
.../ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c | 4 +---
drivers/net/ethernet/ti/am65-cpts.c | 7 ++-----
drivers/net/ethernet/ti/cpsw.c | 3 +--
drivers/net/ethernet/ti/cpsw_new.c | 5 ++---
drivers/net/ethernet/xilinx/ll_temac_main.c | 16 ++++++----------
7 files changed, 18 insertions(+), 33 deletions(-)
--
2.25.1
Powered by blists - more mailing lists