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
bebob
dice
digi00x
fireface
fireworks
motu
oxfw
tascam
Kconfig -rw-r--r-- 4.8 KB
Makefile -rw-r--r-- 664 bytes
amdtp-am824.c -rw-r--r-- 11.7 KB
amdtp-am824.h -rw-r--r-- 1.6 KB
amdtp-stream-trace.h -rw-r--r-- 2.4 KB
amdtp-stream.c -rw-r--r-- 39.8 KB
amdtp-stream.h -rw-r--r-- 8.9 KB
cmp.c -rw-r--r-- 9.6 KB
cmp.h -rw-r--r-- 1.5 KB
fcp.c -rw-r--r-- 10.3 KB
fcp.h -rw-r--r-- 1.0 KB
isight.c -rw-r--r-- 17.5 KB
iso-resources.c -rw-r--r-- 6.5 KB
iso-resources.h -rw-r--r-- 1.2 KB
lib.c -rw-r--r-- 3.1 KB
lib.h -rw-r--r-- 775 bytes
packets-buffer.c -rw-r--r-- 2.1 KB
packets-buffer.h -rw-r--r-- 786 bytes

back to top