linux-stable/drivers/gpu/drm/ast
Andrew Donnellan 554dd692af drm/ast: free correct pointer in astfb_create() error paths
In the err_free_vram and err_release_fbi error paths in astfb_create(), we
attempt to free afbdev->sysram. The only jumps to these error paths occur
before we assign afbdev->sysram = sysram. Free sysram instead.

Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161114030359.27852-1-andrew.donnellan@au1.ibm.com
2016-11-14 07:45:16 +01:00
..
ast_dp501.c drm/ast: Cleanup analog init code path 2014-09-15 11:37:46 +10:00
ast_dram_tables.h
ast_drv.c drm: define drm_compat_ioctl NULL on CONFIG_COMPAT=n and reduce #ifdefs 2016-11-02 11:33:47 -04:00
ast_drv.h drm/ttm: remove use_ticket parameter from ttm_bo_reserve 2016-05-04 20:21:21 -04:00
ast_fb.c drm/ast: free correct pointer in astfb_create() error paths 2016-11-14 07:45:16 +01:00
ast_main.c drm/ast: Delete an unnecessary check before drm_gem_object_unreference_unlocked() 2016-07-18 09:11:32 +02:00
ast_mode.c drm/core: Change declaration for gamma_set. 2016-06-07 15:30:09 +02:00
ast_post.c drm/ast: POST chip at probe time if VGA not enabled 2014-09-15 11:37:44 +10:00
ast_tables.h drm/ast: Add reduced blanking modes for wide screen mode 2014-09-16 14:57:47 +10:00
ast_ttm.c Linux 4.9-rc4 2016-11-07 09:37:09 +10:00
Kconfig drm/ast: make fbdev support really optional 2016-07-18 09:11:41 +02:00
Makefile drm/ast: initial DP501 support (v0.2) 2014-05-19 11:13:57 +10:00