linux_dsm_epyc7002/drivers/gpu/drm/r128
Dan Carpenter c27889ca3b 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
2018-12-17 10:47:17 +01:00
..
Makefile drm/r128: remove unneeded -Iinclude/drm compiler flag 2017-05-18 07:13:23 +02:00
r128_cce.c drm/ati_pcigart: Fix error code in drm_ati_pcigart_init() 2018-12-17 10:47:17 +01:00
r128_drv.c drm/pci: Deprecate drm_pci_init/exit completely 2017-06-20 10:41:03 +02:00
r128_drv.h r128: switch compat ioctls to drm_ioctl_kernel() 2017-09-29 13:42:35 -04:00
r128_ioc32.c r128: switch compat ioctls to drm_ioctl_kernel() 2017-09-29 13:42:35 -04:00
r128_irq.c drm/irq: Use unsigned int pipe in public API 2015-10-06 12:57:47 +02:00
r128_state.c r128: don't open-code memdup_user() 2017-12-27 19:00:09 -05:00