diff options
author | Wei Yongjun <weiyj.lk@gmail.com> | 2016-08-15 17:03:51 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-08-16 09:10:16 +0200 |
commit | b0f566838cfe086a96bffd9c67dd8844a41870ea (patch) | |
tree | c947349cfd9113bb9239eb3cba51433025a5266b /mm | |
parent | dma-buf: Wait on the reservation object when sync'ing before CPU access (diff) | |
download | linux-b0f566838cfe086a96bffd9c67dd8844a41870ea.tar.xz linux-b0f566838cfe086a96bffd9c67dd8844a41870ea.zip |
drm/mgag200: fix error return code in mgag200fb_create()
Fix to return error code -ENOMEM from the vmalloc() error handling
case instead of 0, as done elsewhere in this function.
Fixes: aec9e12953e7 ("drm/mgag200: Fix error handling paths in fbdev driver")
Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1471273431-6753-1-git-send-email-weiyj.lk@gmail.com
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions