diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-12-17 10:03:44 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2018-12-17 12:47:17 +0300 |
commit | c27889ca3bb8bdc936bd0477125f0f6ff4c42df3 (patch) | |
tree | ce86098416b69560485434f2ba6b604ee1179784 /fs/ceph | |
parent | 705c8160ce88825d2491aa55fa9da4fa79204c10 (diff) | |
download | linux-c27889ca3bb8bdc936bd0477125f0f6ff4c42df3.tar.xz |
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 'fs/ceph')
0 files changed, 0 insertions, 0 deletions