From: Wang Dongsheng Date: Thu, 3 Dec 2015 01:54:12 +0000 (+0800) Subject: video: fbdev: fsl: Fix kernel crash when diu_ops is not implemented X-Git-Tag: v3.2.76~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4942dccb5d2ca761c835dc2e07d3604f60771473;p=pandora-kernel.git video: fbdev: fsl: Fix kernel crash when diu_ops is not implemented commit acfc1cc13fe5bc6d7a10afa624f1e560850ddad3 upstream. If diu_ops is not implemented on platform, kernel will access a NULL pointer. We need to check this pointer in DIU initialization. Signed-off-by: Wang Dongsheng Acked-by: Timur Tabi Signed-off-by: Tomi Valkeinen [bwh: Backported to 3.2: adjust filename] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed