[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200520034116.170946-1-weiyongjun1@huawei.com>
Date: Wed, 20 May 2020 11:41:14 +0800
From: Wei Yongjun <weiyongjun1@...wei.com>
To: <netdev@...r.kernel.org>,
Grygorii Strashko <grygorii.strashko@...com>,
Christophe JAILLET <christophe.jaillet@...adoo.fr>,
Colin Ian King <colin.king@...onical.com>,
Jakub Kicinski <kuba@...nel.org>
CC: Wei Yongjun <weiyongjun1@...wei.com>,
<kernel-janitors@...r.kernel.org>
Subject: [PATCH 0/2 v3] net: ethernet: ti: fix some return value check
This patchset convert cpsw_ale_create() to return PTR_ERR() only, and
changed all the caller to check IS_ERR() instead of NULL.
Since v2:
1) rebased on net.git, as Jakub's suggest
2) split am65-cpsw-nuss.c changes, as Grygorii's suggest
Wei Yongjun (2):
net: ethernet: ti: fix some return value check of cpsw_ale_create()
net: ethernet: ti: am65-cpsw-nuss: fix error handling of
am65_cpsw_nuss_probe
drivers/net/ethernet/ti/am65-cpsw-nuss.c | 3 ++-
drivers/net/ethernet/ti/cpsw_ale.c | 2 +-
drivers/net/ethernet/ti/cpsw_priv.c | 4 ++--
drivers/net/ethernet/ti/netcp_ethss.c | 4 ++--
4 files changed, 7 insertions(+), 6 deletions(-)
--
2.25.1
Powered by blists - more mailing lists