From: Dan Carpenter Date: Mon, 14 May 2012 20:58:37 +0000 (+0300) Subject: fb: handle NULL pointers in framebuffer release X-Git-Tag: v3.5-rc1~7^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc4401142c1cbc63b01d6024cbc7a9f804cb3143;p=pandora-kernel.git fb: handle NULL pointers in framebuffer release This function is called with a potential NULL pointer in picolcd_init_framebuffer() and it causes a static checker warning. This used to handle NULL pointers when the picolcd code was written, but a couple months later we added the "info->apertures" dereference. Signed-off-by: Dan Carpenter Reviewed-by: Marcin Slusarz Signed-off-by: Florian Tobias Schandinat --- Reading git-diff-tree failed