diff options
author | Benjamin Gaignard <benjamin.gaignard@linaro.org> | 2013-06-26 17:58:59 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-06-27 21:03:16 +1000 |
commit | 53ef1600bdabfc4ba4ce0cc5f3b4a7cec55d1e98 (patch) | |
tree | 1b472149273b9620b54b6388928be8491f390ffa /kernel/trace/trace_probe.h | |
parent | dc0216445cdc5b937b78a02f1145a2fbcf92e9d6 (diff) |
drm: drm_stub: Fixing return value if driver master_set call failed
When dev->driver->master_set() failed ioctl call return 0
but the caller is not the DRM-Master because file_priv->is_master = 0.
Fix that by returning to ioctl caller the driver master_set error code.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'kernel/trace/trace_probe.h')
0 files changed, 0 insertions, 0 deletions