diff options
| author | Jia-Ju Bai <baijiaju1990@gmail.com> | 2021-03-04 18:06:48 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-30 14:44:59 +0200 |
| commit | 9e29602228889300006903d988c1d2bddfbf90e4 (patch) | |
| tree | 041187afd4563ebb61514a50784e4aadb8c9db29 /tools/perf/scripts/python | |
| parent | 6aeec3b7b6ee48dd6e02f2fc95cdbb44d7314abb (diff) | |
net: tehuti: fix error return code in bdx_probe()
[ Upstream commit 38c26ff3048af50eee3fcd591921357ee5bfd9ee ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
