]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Consistently return -ENOENT when a mode object can't be found
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 17 Oct 2013 10:35:00 +0000 (13:35 +0300)
committerDave Airlie <airlied@redhat.com>
Wed, 6 Nov 2013 03:25:17 +0000 (13:25 +1000)
commitf085e415c54e8e6ae955ba4a7c1feb747f5266d0
tree70a885f30689268d3ff30a5fd8a7deb20647d5b7
parentd013fe19349370d7e4a15286e69be8ddff95e3dc
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>
drivers/gpu/drm/drm_crtc.c