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
File | Mode | Size |
---|---|---|
fsl-mc | ||
mhi | ||
Kconfig | -rw-r--r-- | 6.2 KB |
Makefile | -rw-r--r-- | 1.1 KB |
arm-cci.c | -rw-r--r-- | 15.5 KB |
brcmstb_gisb.c | -rw-r--r-- | 10.8 KB |
da8xx-mstpri.c | -rw-r--r-- | 5.9 KB |
hisi_lpc.c | -rw-r--r-- | 18.0 KB |
imx-weim.c | -rw-r--r-- | 6.7 KB |
mips_cdmm.c | -rw-r--r-- | 19.1 KB |
moxtet.c | -rw-r--r-- | 18.6 KB |
mvebu-mbus.c | -rw-r--r-- | 36.4 KB |
omap-ocp2scp.c | -rw-r--r-- | 3.1 KB |
omap_l3_noc.c | -rw-r--r-- | 10.6 KB |
omap_l3_noc.h | -rw-r--r-- | 12.3 KB |
omap_l3_smx.c | -rw-r--r-- | 7.1 KB |
omap_l3_smx.h | -rw-r--r-- | 7.3 KB |
qcom-ebi2.c | -rw-r--r-- | 10.5 KB |
simple-pm-bus.c | -rw-r--r-- | 1.3 KB |
sun50i-de2.c | -rw-r--r-- | 1.1 KB |
sunxi-rsb.c | -rw-r--r-- | 19.0 KB |
tegra-aconnect.c | -rw-r--r-- | 2.9 KB |
tegra-gmi.c | -rw-r--r-- | 7.5 KB |
ti-pwmss.c | -rw-r--r-- | 1.2 KB |
ti-sysc.c | -rw-r--r-- | 73.6 KB |
ts-nbus.c | -rw-r--r-- | 8.9 KB |
uniphier-system-bus.c | -rw-r--r-- | 7.3 KB |
vexpress-config.c | -rw-r--r-- | 4.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...