linux/drivers/gpu/drm/sis
Jesper Juhl 4e087a7a1f gpu, drm, sis: Don't return uninitialized variable from sis_driver_load()
In sis_driver_load(), the only use of 'ret' is as the return value
from the function, unfortunately it is never initialized, so the
function just returns garbage when it succeeds.
To fix that, remove the variable and just return 0 directly on success.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-01-23 11:00:47 +00:00
..
Makefile
sis_drv.c gpu, drm, sis: Don't return uninitialized variable from sis_driver_load() 2012-01-23 11:00:47 +00:00
sis_drv.h drm/sis: use drm_mm instead of drm_sman 2011-12-22 00:33:23 +01:00
sis_mm.c drm/sis|via: don't return stack garbage from free_mem ioctl 2012-01-09 12:11:39 +00:00