diff options
| author | Thomas Preisner <[email protected]> | 2016-12-30 03:37:53 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-12-30 15:26:22 -0500 |
| commit | 107fded7bf616ad6f46823d98b8ed6405d7adf2d (patch) | |
| tree | a5f51356f922f3e6c6818fd3cc7db1a3b434968a /tools/perf/scripts/python | |
| parent | 7bb387c5ab12aeac3d5eea28686489ff46b53ca9 (diff) | |
net: 3com: typhoon: typhoon_init_one: fix incorrect return values
In a few cases the err-variable is not set to a negative error code if a
function call in typhoon_init_one() fails and thus 0 is returned
instead.
It may be better to set err to the appropriate negative error
code before returning.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188841
Reported-by: Pan Bian <[email protected]>
Signed-off-by: Thomas Preisner <[email protected]>
Signed-off-by: Milan Stephan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions