summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/vkms
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-12-17 10:03:44 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2018-12-17 10:47:17 +0100
commitc27889ca3bb8bdc936bd0477125f0f6ff4c42df3 (patch)
treece86098416b69560485434f2ba6b604ee1179784 /drivers/gpu/drm/vkms
parent705c8160ce88825d2491aa55fa9da4fa79204c10 (diff)
drm/ati_pcigart: Fix error code in drm_ati_pcigart_init()
The drm_ati_pcigart_init() function was originally suppose to return one on success and zero on failure, but these days it returns a mix of zero, one and -ENOMEM on failure. This patch cleans it up and modifies the caller so now the function returns zero on success and negative error codes on failure. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20181217070344.GC12159@kadam
Diffstat (limited to 'drivers/gpu/drm/vkms')
0 files changed, 0 insertions, 0 deletions