Fix not checking return value of drmIoctl function call to map dumb buffer
authorChris Michael <cp.michael@samsung.com>
Thu, 2 May 2013 01:26:02 +0000 (21:26 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 2 May 2013 01:26:02 +0000 (21:26 -0400)
commiteb2074a18bd272b0c8011069f8d510071b95caab
treeea89063ba54b9b147d372f174a9315c78678be97
parentab7456233556a6ce7bfcf931600dc0d80caa186d
Fix not checking return value of drmIoctl function call to map dumb buffer

in drm_fb_create_dumb, the return value of the drmIoctl function call
to map the dumb buffer was never checked, thus the following "if
(ret)" check was invalid as it was checking the previous return value
from the above drmModeAddFB call.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/compositor-drm.c