From: Tapasweni Pathak Date: Fri, 6 Mar 2015 02:39:40 +0000 (-0300) Subject: [media] drivers: media: platform: vivid: Fix possible null derefrence X-Git-Tag: omap-for-v4.2/o2_dc~62^2~1^2~239 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4eaa3a6cc4c577103d678492ec50979b3aa360a4;p=pandora-kernel.git [media] drivers: media: platform: vivid: Fix possible null derefrence Check for dev_fmt being null before derefrencing it, to assign it to planes. Found using Coccinelle. Signed-off-by: Tapasweni Pathak Acked-by: Julia Lawall Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed