diff options
| author | Wei Yongjun <weiyj.lk@gmail.com> | 2016-08-08 14:09:27 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-06 11:16:15 +0100 |
| commit | 9188611f81e3046cad7703303dbcf6f26c8e4d4d (patch) | |
| tree | 11cf5785c3b43921b8053bcfc5751aed0f537ffb /tools/perf/scripts/python | |
| parent | f0898dc2852b2e12afabff150bbf2390efec0395 (diff) | |
dm flakey: return -EINVAL on interval bounds error in flakey_ctr()
commit bff7e067ee518f9ed7e1cbc63e4c9e01670d0b71 upstream.
Fix to return error code -EINVAL instead of 0, as is done elsewhere in
this function.
Fixes: e80d1c805a3b ("dm: do not override error code returned from dm_get_device()")
Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
