diff options
author | Mika Westerberg <[email protected]> | 2017-11-24 17:48:25 +0300 |
---|---|---|
committer | Mika Westerberg <[email protected]> | 2018-03-09 12:54:10 +0300 |
commit | 68a7a2ace13156b8a3d8cd6cceab6c30b52e2923 (patch) | |
tree | 4660b67ed85ebaac5f0c9cb6750d1cd4444dc4a5 /tools/perf/util/c++/clang.cpp | |
parent | 79fae987518a3aa6c3c7b2e3ad5fe1e4080c12bc (diff) |
thunderbolt: Do not overwrite error code when domain adding fails
If the Thunderbolt domain adding fails for some reason we currently
always return -EIO instead of the real error code. To make debugging
easier return the actual error code instead.
Signed-off-by: Mika Westerberg <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions