sm501fb: check fb_alloc_cmap return value and handle failure properly
Signed-off-by: NAndres Salomon <dilinger@debian.org> Acked-by: NKrzysztof Helt <krzysztof.h1@poczta.fm> Cc: Ben Dooks <ben-linux@fluff.org> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
Showing
想要评论请 注册 或 登录