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
.gitignore -rw-r--r-- 64 bytes
Kconfig -rw-r--r-- 3.8 KB
Makefile -rw-r--r-- 992 bytes
arm_ssp_per_task_plugin.c -rw-r--r-- 2.8 KB
cyc_complexity_plugin.c -rw-r--r-- 1.7 KB
gcc-common.h -rw-r--r-- 23.7 KB
gcc-generate-gimple-pass.h -rw-r--r-- 4.1 KB
gcc-generate-ipa-pass.h -rw-r--r-- 7.4 KB
gcc-generate-rtl-pass.h -rw-r--r-- 4.1 KB
gcc-generate-simple_ipa-pass.h -rw-r--r-- 4.1 KB
gen-random-seed.sh -rw-r--r-- 305 bytes
latent_entropy_plugin.c -rw-r--r-- 16.6 KB
randomize_layout_plugin.c -rw-r--r-- 26.4 KB
sancov_plugin.c -rw-r--r-- 3.8 KB
stackleak_plugin.c -rw-r--r-- 12.6 KB
structleak_plugin.c -rw-r--r-- 7.4 KB

back to top