diff options
| author | Dan Carpenter <[email protected]> | 2018-12-17 10:03:44 +0300 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2018-12-17 10:47:17 +0100 |
| commit | c27889ca3bb8bdc936bd0477125f0f6ff4c42df3 (patch) | |
| tree | ce86098416b69560485434f2ba6b604ee1179784 /lib/mpi/mpicoder.c | |
| parent | 705c8160ce88825d2491aa55fa9da4fa79204c10 (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 <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/20181217070344.GC12159@kadam
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions