diff options
author | 2021-03-04 18:06:48 -0800 | |
---|---|---|
committer | 2021-03-05 12:59:32 -0800 | |
commit | 38c26ff3048af50eee3fcd591921357ee5bfd9ee (patch) | |
tree | 5da31f23db3ee8bd9cc38f2e5437dded4c851a0e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net/mlx4_en: update moderation when config reset (diff) | |
download | linux-dev-38c26ff3048af50eee3fcd591921357ee5bfd9ee.tar.xz linux-dev-38c26ff3048af50eee3fcd591921357ee5bfd9ee.zip |
net: tehuti: fix error return code in bdx_probe()
When bdx_read_mac() fails, no error return code of bdx_probe()
is assigned.
To fix this bug, err is assigned with -EFAULT as error return code.
Reported-by: TOTE Robot <oslab@tsinghua.edu.cn>
Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.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