commit | da34242e5e0638312130f5bd5d2d277afbc6f806 | [log] [tgz] |
---|---|---|
author | YoungJun Cho <yj44.cho@samsung.com> | Wed Jun 26 10:21:42 2013 +0900 |
committer | Dave Airlie <airlied@redhat.com> | Fri Jun 28 14:43:04 2013 +1000 |
tree | be64bc9ae3fd2bd4272fcaee06eeac33a041c1ee | |
parent | ce92e3c9613b51adccaf4d3c04eef53aee981e10 [diff] |
drm/prime: add return check for dma_buf_fd The dma_buf_fd() can return error when it fails to prepare fd, so the dma_buf needs to be put. Signed-off-by: YoungJun Cho <yj44.cho@samsung.com> Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Dave Airlie <airlied@redhat.com>