From: Markus Elfring Date: Sun, 24 Sep 2017 09:00:57 +0000 (-0400) Subject: media: omap_vout: Fix a possible null pointer dereference in omap_vout_open() X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51c3c7a7a2d8c513d55d5f0a351a88f192ff8003;p=pandora-kernel.git media: omap_vout: Fix a possible null pointer dereference in omap_vout_open() commit bfba2b3e21b9426c0f9aca00f3cad8631b2da170 upstream. Move a debug message so that a null pointer access can not happen for the variable "vout" in this function. Fixes: 5c7ab6348e7b3fcca2b8ee548306c774472971e2 ("V4L/DVB: V4L2: Add support for OMAP2/3 V4L2 display driver on top of DSS2") Signed-off-by: Markus Elfring Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab [bwh: Backported to 3.2: adjust filename] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed