commit | b0f566838cfe086a96bffd9c67dd8844a41870ea | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyj.lk@gmail.com> | Mon Aug 15 15:03:51 2016 +0000 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Tue Aug 16 09:10:16 2016 +0200 |
tree | c947349cfd9113bb9239eb3cba51433025a5266b | |
parent | ae4e46b14bd7a12fb7908425846be7ceb0853bbc [diff] |
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