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 |
---|---|---|
include-prefixes | ||
libfdt | ||
.gitignore | -rw-r--r-- | 44 bytes |
Makefile | -rw-r--r-- | 1.1 KB |
checks.c | -rw-r--r-- | 49.4 KB |
data.c | -rw-r--r-- | 4.5 KB |
dt_to_config | -rwxr-xr-x | 40.8 KB |
dtc-lexer.l | -rw-r--r-- | 6.1 KB |
dtc-parser.y | -rw-r--r-- | 10.5 KB |
dtc.c | -rw-r--r-- | 9.2 KB |
dtc.h | -rw-r--r-- | 8.3 KB |
dtx_diff | -rwxr-xr-x | 9.0 KB |
fdtdump.c | -rw-r--r-- | 3.7 KB |
fdtget.c | -rw-r--r-- | 7.9 KB |
fdtput.c | -rw-r--r-- | 7.7 KB |
flattree.c | -rw-r--r-- | 21.4 KB |
fstree.c | -rw-r--r-- | 1.5 KB |
livetree.c | -rw-r--r-- | 20.3 KB |
srcpos.c | -rw-r--r-- | 8.6 KB |
srcpos.h | -rw-r--r-- | 2.9 KB |
treesource.c | -rw-r--r-- | 6.9 KB |
update-dtc-source.sh | -rwxr-xr-x | 2.5 KB |
util.c | -rw-r--r-- | 8.5 KB |
util.h | -rw-r--r-- | 6.9 KB |
version_gen.h | -rw-r--r-- | 42 bytes |
yamltree.c | -rw-r--r-- | 6.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...