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
lxdialog
tests
.gitignore -rw-r--r-- 115 bytes
Makefile -rw-r--r-- 7.3 KB
conf.c -rw-r--r-- 15.7 KB
confdata.c -rw-r--r-- 27.2 KB
expr.c -rw-r--r-- 30.0 KB
expr.h -rw-r--r-- 9.6 KB
gconf-cfg.sh -rwxr-xr-x 733 bytes
gconf.c -rw-r--r-- 38.1 KB
gconf.glade -rw-r--r-- 25.0 KB
images.c -rw-r--r-- 6.3 KB
images.h -rw-r--r-- 752 bytes
lexer.l -rw-r--r-- 9.1 KB
list.h -rw-r--r-- 3.7 KB
lkc.h -rw-r--r-- 3.8 KB
lkc_proto.h -rw-r--r-- 2.4 KB
mconf-cfg.sh -rwxr-xr-x 1.2 KB
mconf.c -rw-r--r-- 27.3 KB
menu.c -rw-r--r-- 22.2 KB
merge_config.sh -rwxr-xr-x 4.6 KB
nconf-cfg.sh -rwxr-xr-x 1.3 KB
nconf.c -rw-r--r-- 38.2 KB
nconf.gui.c -rw-r--r-- 14.8 KB
nconf.h -rw-r--r-- 1.8 KB
parser.y -rw-r--r-- 15.1 KB
preprocess.c -rw-r--r-- 11.0 KB
qconf-cfg.sh -rwxr-xr-x 846 bytes
qconf.cc -rw-r--r-- 45.1 KB
qconf.h -rw-r--r-- 7.4 KB
streamline_config.pl -rwxr-xr-x 16.1 KB
symbol.c -rw-r--r-- 28.6 KB
util.c -rw-r--r-- 2.2 KB

back to top