Revision 1401cf600d548c72f51e20b5841c330d5c11c9e2 authored by Wei Yongjun on 20 May 2020, 03:41:16 UTC, committed by David S. Miller on 22 May 2020, 00:14:18 UTC
Convert to using IS_ERR() instead of NULL test for cpsw_ale_create()
error handling. Also fix to return negative error code from this error
handling case instead of 0 in.

Fixes: 93a76530316a ("net: ethernet: ti: introduce am65x/j721e gigabit eth subsystem driver")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 3469660
History
File Mode Size
Kconfig -rw-r--r-- 1.7 KB
Makefile -rw-r--r-- 421 bytes
mtk_rpmsg.c -rw-r--r-- 10.5 KB
qcom_glink_native.c -rw-r--r-- 40.6 KB
qcom_glink_native.h -rw-r--r-- 1017 bytes
qcom_glink_rpm.c -rw-r--r-- 7.9 KB
qcom_glink_smem.c -rw-r--r-- 6.9 KB
qcom_smd.c -rw-r--r-- 40.3 KB
rpmsg_char.c -rw-r--r-- 13.5 KB
rpmsg_core.c -rw-r--r-- 16.9 KB
rpmsg_internal.h -rw-r--r-- 3.3 KB
virtio_rpmsg_bus.c -rw-r--r-- 29.4 KB

back to top