diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-10-17 13:35:00 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-11-06 13:25:17 +1000 |
commit | f27657f2ea7ffc07cc5bd19e7b9f937b4451bbc8 (patch) | |
tree | 70a885f30689268d3ff30a5fd8a7deb20647d5b7 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | e1e78533f2ddeabef5dc6545739211795ac4b822 (diff) |
drm: Consistently return -ENOENT when a mode object can't be found
We tend to return -EINVAL for everything. Let's try to help poor
userland developers a bit by at least returning -ENONET for missing
objects.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions