diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-07-02 07:18:39 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-07-03 23:58:55 (GMT) |
commit | 4a88f73f14f6d6c94616538427e1235a6d0a5885 (patch) | |
tree | ce70dad0788157dad0ac832bfd861cee117243e7 /Documentation/block | |
parent | 77ef8bbc87be7ad10b410247efc6d0f10676b401 (diff) | |
download | linux-4a88f73f14f6d6c94616538427e1235a6d0a5885.tar.xz |
drm/prime: fix up handle_to_fd ioctl return value
In
commit da34242e5e0638312130f5bd5d2d277afbc6f806
Author: YoungJun Cho <yj44.cho@samsung.com>
Date: Wed Jun 26 10:21:42 2013 +0900
drm/prime: add return check for dma_buf_fd
the failure case handling was fixed up. But in the case when we
already had the buffer exported it changed the return value:
Previously we've return 0 on success, now we return the fd.
This ABI change has been caught by i-g-t/prime_self_import/with_one_bo.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66436
Cc: YoungJun Cho <yj44.cho@samsung.com>
Cc: Seung-Woo Kim <sw0312.kim@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Tested-by: lu hua <huax.lu@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: YoungJun Cho <yj44.cho@samsung.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'Documentation/block')
0 files changed, 0 insertions, 0 deletions