summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2020-05-20 06:41:16 +0300
committerDavid S. Miller <davem@davemloft.net>2020-05-22 03:14:18 +0300
commit1401cf600d548c72f51e20b5841c330d5c11c9e2 (patch)
tree341f692f29bf8bc3c19ab133fd3a09951d259653 /tools/perf/scripts/python/export-to-postgresql.py
parent3469660d1b15ccfdf7b33295c306b6298ca730aa (diff)
downloadlinux-1401cf600d548c72f51e20b5841c330d5c11c9e2.tar.xz
net: ethernet: ti: am65-cpsw-nuss: fix error handling of am65_cpsw_nuss_probe
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions