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-- 2.6 KB
Makefile -rw-r--r-- 398 bytes
cf-fsi-fw.h -rw-r--r-- 4.7 KB
fsi-core.c -rw-r--r-- 31.9 KB
fsi-master-aspeed.c -rw-r--r-- 12.8 KB
fsi-master-ast-cf.c -rw-r--r-- 37.0 KB
fsi-master-gpio.c -rw-r--r-- 20.8 KB
fsi-master-hub.c -rw-r--r-- 7.3 KB
fsi-master.h -rw-r--r-- 5.8 KB
fsi-occ.c -rw-r--r-- 13.3 KB
fsi-sbefifo.c -rw-r--r-- 26.5 KB
fsi-scom.c -rw-r--r-- 15.5 KB

back to top